mirror of
https://github.com/elyby/chrly.git
synced 2025-05-31 14:11:51 +05:30
Resolves #18. Log panics to the Sentry
This commit is contained in:
@@ -66,6 +66,8 @@ func newSentry(config *viper.Viper) (*raven.Client, error) {
|
||||
ravenClient.SetDefaultLoggerName("sentry-watchdog-receiver")
|
||||
ravenClient.SetRelease(version.Version())
|
||||
|
||||
raven.DefaultClient = ravenClient
|
||||
|
||||
return ravenClient, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user