mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-29 08:26:11 +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.resetUtils(e.Config.GetAWSConfig(), e.Config.IsDebug(), 0)
|
||||||
e.SetLogger(NewLogger(e.Config.GetTransportInfo().GetCode(), e.Config.GetLogLevel(), e.LogFormatter))
|
e.SetLogger(NewLogger(e.Config.GetTransportInfo().GetCode(), e.Config.GetLogLevel(), e.LogFormatter))
|
||||||
e.Sentry.Localizer = &e.Localizer
|
e.Sentry.Localizer = &e.Localizer
|
||||||
|
e.Sentry.Stacktrace = true
|
||||||
e.Utils.Logger = e.Logger()
|
e.Utils.Logger = e.Logger()
|
||||||
e.Sentry.Logger = e.Logger()
|
e.Sentry.Logger = e.Logger()
|
||||||
e.prepared = true
|
e.prepared = true
|
||||||
|
Loading…
Reference in New Issue
Block a user