Skip to content

fix(bugsnag): filter "payment is a no-op" InvalidIntent from reporting#857

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/filter-payment-noop-bugsnag
Jun 4, 2026
Merged

fix(bugsnag): filter "payment is a no-op" InvalidIntent from reporting#857
bmc08gt merged 1 commit into
code/cashfrom
fix/filter-payment-noop-bugsnag

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented Jun 4, 2026

Summary

  • SubmitIntentError.InvalidIntent with reason "payment is a no-op" was being reported to Bugsnag despite being an expected server response
  • Changed InvalidIntent from NotifiableError to ConditionallyNotifiable, matching the StaleState pattern — "payment is a no-op" is treated as expected and suppressed; other reasons remain notifiable
  • Added unit tests for both cases

Mark SubmitIntentError.InvalidIntent as ConditionallyNotifiable so
"payment is a no-op" reasons are treated as expected and suppressed
from Bugsnag, matching the StaleState pattern.
@github-actions github-actions Bot added area: network gRPC, connectivity, API, exchange rates type: fix Bug fix labels Jun 4, 2026
@bmc08gt bmc08gt merged commit d6e1592 into code/cash Jun 4, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/filter-payment-noop-bugsnag branch June 4, 2026 19: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