Skip to content

fix(bugsnag): suppress expected StaleState errors from reporting#685

Merged
bmc08gt merged 2 commits into
code/cashfrom
fix/bugsnag-expected-stale-state
May 11, 2026
Merged

fix(bugsnag): suppress expected StaleState errors from reporting#685
bmc08gt merged 2 commits into
code/cashfrom
fix/bugsnag-expected-stale-state

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 11, 2026

Known stale state reasons (gift card claimed/expired, pool distributed, race condition, intent already exists) are expected and no longer sent to Bugsnag. Unknown stale state reasons remain notifiable.

Adds ConditionallyNotifiable interface for errors where notifiability depends on runtime state.

Known stale state reasons (gift card claimed/expired, pool distributed,
race condition, intent already exists) are expected and no longer sent
to Bugsnag. Unknown stale state reasons remain notifiable.

Adds ConditionallyNotifiable interface for errors where notifiability
depends on runtime state.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 11, 2026
@github-actions github-actions Bot added area: network gRPC, connectivity, API, exchange rates type: fix Bug fix labels May 11, 2026
Simplifies ErrorUtils by unifying the notifiability check into a
single ConditionallyNotifiable interface.
@bmc08gt bmc08gt merged commit bbd84f1 into code/cash May 11, 2026
2 checks passed
@bmc08gt bmc08gt deleted the fix/bugsnag-expected-stale-state branch May 11, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: network gRPC, connectivity, API, exchange rates type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant