This repository was archived by the owner on May 11, 2026. It is now read-only.
Commit e3450e3
committed
fix: ignore "unauthorized" errors in Sentry
Pass ignoreErrors: ['unauthorized'] to initLogger so the Sentry SDK
drops events whose exception message is "unauthorized" — these are
client-side auth failures from score-api, expected as 4xx responses,
not actionable at the SDK level. Removes ~25k events/cycle across
SNAPSHOT-SEQUENCER-26/-37/-38.
Filtering happens in @snapshot-labs/snapshot-sentry via Sentry's
built-in ignoreErrors option (snapshot-labs/snapshot-sentry#18) — no
local capture wrapper needed.1 parent 5a65057 commit e3450e3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
0 commit comments