Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit 0d68e49

Browse files
committed
Move room_id to tag instead of context
1 parent 7a9c635 commit 0d68e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: roomserver/internal/input/input_latest_events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ func (u *latestEventsUpdater) latestState() error {
298298
}).Warnf("State reset detected (removing %d events)", removed)
299299
sentry.WithScope(func(scope *sentry.Scope) {
300300
scope.SetLevel("warning")
301+
scope.SetTag("room_id", u.event.RoomID().String())
301302
scope.SetContext("State reset", map[string]interface{}{
302-
"Room ID": u.event.RoomID().String(),
303303
"Event ID": u.event.EventID(),
304304
"Old state NID": fmt.Sprintf("%d", u.oldStateNID),
305305
"New state NID": fmt.Sprintf("%d", u.newStateNID),

0 commit comments

Comments
 (0)