Add sentry fingerprint

This commit is contained in:
Pavel Škoda
2020-11-20 10:48:27 +01:00
committed by Jakub Cuth
parent 7b44f12ab1
commit 9ee30e4923

View File

@ -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")
}