Tweak Sentry again
This commit is contained in:
parent
5992b4c7ed
commit
fd7661f69c
|
@ -62,7 +62,6 @@ func MakeAuthAPI(
|
||||||
if hub != nil {
|
if hub != nil {
|
||||||
hub.Scope().SetUser(sentry.User{
|
hub.Scope().SetUser(sentry.User{
|
||||||
Username: device.UserID,
|
Username: device.UserID,
|
||||||
IPAddress: req.RemoteAddr,
|
|
||||||
})
|
})
|
||||||
hub.Scope().SetTag("user_id", device.UserID)
|
hub.Scope().SetTag("user_id", device.UserID)
|
||||||
hub.Scope().SetTag("device_id", device.ID)
|
hub.Scope().SetTag("device_id", device.ID)
|
||||||
|
|
Loading…
Reference in a new issue