mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
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