Skip to content

Skip expected Bungie profile errors in Sentry - #378

Merged
owens1127 merged 1 commit into
mainfrom
fix/sentry-bungie-profile-errors
Jun 19, 2026
Merged

Skip expected Bungie profile errors in Sentry#378
owens1127 merged 1 commit into
mainfrom
fix/sentry-bungie-profile-errors

Conversation

@owens1127

Copy link
Copy Markdown
Contributor

Summary

  • WEBSITE-1F regressed with Bungie error 1601 (DestinyAccountNotFound) on /profile/:destinyMembershipId — not in ExpectedErrorCodes, so react-query reported it despite shouldSkipCapture
  • Add 1600 (no linked Destiny account), 1601 (account not found), and 1665 (privacy restriction) to BaseBungieClient.ExpectedErrorCodes
  • Same bucket already included handled codes (5 maintenance, 1618 Bungie blip, 8 bad params) — this closes the gap for profile lookups

Test plan

  • bun run lint + bun tsc
  • CI green
  • After deploy: is:unresolved project:website → 0; WEBSITE-1F resolved in APP_VERSION

Made with Cursor

Add DestinyAccountNotFound (1601), DestinyAccountAcquisitionFailure (1600), and DestinyPrivacyRestriction (1665) to ExpectedErrorCodes so profile react-query failures are handled in UI only.

Fixes WEBSITE-1F

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
raid-hub Error Error Jun 19, 2026 12:51am

Request Review

@owens1127
owens1127 merged commit e434f3c into main Jun 19, 2026
6 of 7 checks passed
@owens1127
owens1127 deleted the fix/sentry-bungie-profile-errors branch June 19, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant