mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Move room_id to tag instead of context
This commit is contained in:
parent
7a9c635168
commit
0d68e49ac8
|
|
@ -298,8 +298,8 @@ func (u *latestEventsUpdater) latestState() error {
|
|||
}).Warnf("State reset detected (removing %d events)", removed)
|
||||
sentry.WithScope(func(scope *sentry.Scope) {
|
||||
scope.SetLevel("warning")
|
||||
scope.SetTag("room_id", u.event.RoomID().String())
|
||||
scope.SetContext("State reset", map[string]interface{}{
|
||||
"Room ID": u.event.RoomID().String(),
|
||||
"Event ID": u.event.EventID(),
|
||||
"Old state NID": fmt.Sprintf("%d", u.oldStateNID),
|
||||
"New state NID": fmt.Sprintf("%d", u.newStateNID),
|
||||
|
|
|
|||
Loading…
Reference in a new issue