forked from Silverfish/proton-bridge
Add sentry fingerprint
This commit is contained in:
@ -56,6 +56,10 @@ func Main(appName, usage string, extraFlags []cli.Flag, run func(*cli.Context) e
|
||||
Release: constants.Revision,
|
||||
})
|
||||
|
||||
sentry.ConfigureScope(func(scope *sentry.Scope) {
|
||||
scope.SetFingerprint([]string{"{{ default }}"})
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
log.WithError(err).Errorln("Can not setup sentry DSN")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user