go.mod: update sentry
Update sentry dep and code that was required.
This commit is contained in:
parent
d7686244cd
commit
15ec2fc431
46 changed files with 2472 additions and 1832 deletions
|
|
@ -108,7 +108,7 @@ func main() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
sentryhook := sentrylogrus.NewFromClient([]logrus.Level{logrus.PanicLevel,
|
||||
sentryhook := sentrylogrus.NewEventHookFromClient([]logrus.Level{logrus.PanicLevel,
|
||||
logrus.FatalLevel, logrus.ErrorLevel},
|
||||
sentry.CurrentHub().Client())
|
||||
logrus.AddHook(sentryhook)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue