diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-09-07 16:24:43 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-09-07 16:24:43 +0100 |
commit | 31f4ae8997af7e939f505107341b86b2abd3fd9a (patch) | |
tree | 8817a4f873388e474ab60fd92e1f162645c8c075 /roomserver | |
parent | 5014b35bd7aaad10444aeb5d0204b338929f4e55 (diff) |
Use a single context instead
Diffstat (limited to 'roomserver')
-rw-r--r-- | roomserver/internal/input/input_latest_events.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/internal/input/input_latest_events.go b/roomserver/internal/input/input_latest_events.go index 7a7524fb..205a33e8 100644 --- a/roomserver/internal/input/input_latest_events.go +++ b/roomserver/internal/input/input_latest_events.go @@ -287,7 +287,7 @@ func (u *latestEventsUpdater) latestState() error { }).Warnf("State reset detected (removing %d events)", removed) sentry.WithScope(func(scope *sentry.Scope) { scope.SetLevel("warning") - scope.SetContexts(map[string]interface{}{ + scope.SetContext("State reset", map[string]interface{}{ "Event ID": u.event.EventID(), "Old state NID": fmt.Sprintf("%d", u.oldStateNID), "New state NID": fmt.Sprintf("%d", u.newStateNID), |