mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-25 14:46:02 +03:00
enable stacktrace in the core.Engine by default (#17)
This commit is contained in:
parent
ac9e7e768e
commit
66b13fc30b
@ -101,6 +101,7 @@ func (e *Engine) Prepare() *Engine {
|
||||
e.resetUtils(e.Config.GetAWSConfig(), e.Config.IsDebug(), 0)
|
||||
e.SetLogger(NewLogger(e.Config.GetTransportInfo().GetCode(), e.Config.GetLogLevel(), e.LogFormatter))
|
||||
e.Sentry.Localizer = &e.Localizer
|
||||
e.Sentry.Stacktrace = true
|
||||
e.Utils.Logger = e.Logger()
|
||||
e.Sentry.Logger = e.Logger()
|
||||
e.prepared = true
|
||||
|
Loading…
Reference in New Issue
Block a user