diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-08-25 11:01:07 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-08-25 11:01:07 +0100 |
commit | 8ff3f1a7c9578a3a4f95755c4698da3219777097 (patch) | |
tree | a6b428b61272a463e001fa881c045f03350ed02d /roomserver/internal | |
parent | cd7fa34595c0b4107677e32439b0d02599db8e51 (diff) |
Remove a couple unnecessary Sentry captures from backfill
Diffstat (limited to 'roomserver/internal')
-rw-r--r-- | roomserver/internal/perform/perform_backfill.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/roomserver/internal/perform/perform_backfill.go b/roomserver/internal/perform/perform_backfill.go index de76b641..51c66415 100644 --- a/roomserver/internal/perform/perform_backfill.go +++ b/roomserver/internal/perform/perform_backfill.go @@ -18,7 +18,6 @@ import ( "context" "fmt" - "github.com/getsentry/sentry-go" "github.com/matrix-org/gomatrixserverlib" "github.com/matrix-org/util" "github.com/sirupsen/logrus" @@ -320,7 +319,6 @@ FederationHit: b.eventIDToBeforeStateIDs[targetEvent.EventID()] = res return res, nil } - sentry.CaptureException(lastErr) // temporary to see if we might need to raise the server limit return nil, lastErr } @@ -398,7 +396,6 @@ func (b *backfillRequester) StateBeforeEvent(ctx context.Context, roomVer gomatr } return result, nil } - sentry.CaptureException(lastErr) // temporary to see if we might need to raise the server limit return nil, lastErr } |