This repository was archived by the owner on May 11, 2026. It is now read-only.
Commit b0dc36f
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 3408cf1 commit b0dc36f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments