forked from Silverfish/proton-bridge
chore: fill sentry user.id with hostname.
This commit is contained in:
@ -60,7 +60,7 @@ func init() { //nolint:gochecknoinits
|
||||
|
||||
sentry.ConfigureScope(func(scope *sentry.Scope) {
|
||||
scope.SetFingerprint([]string{"{{ default }}"})
|
||||
scope.SetTag("UserID", "not-defined")
|
||||
scope.SetUser(sentry.User{ID: getProtectedHostname()})
|
||||
})
|
||||
|
||||
sentry.Logger = log.New(
|
||||
|
||||
Reference in New Issue
Block a user