You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: enrich event 404 errors with retention and format suggestions (CLI-6F)
When `sentry event view` gets a 404 Not Found, the generic
'Failed to get event: 404 Not Found' doesn't help users diagnose
the cause. This affects 54 users (CLI-6F).
Extracted event fetching into a fetchEventWithContext() helper that
catches 404 errors and throws a ResolutionError with suggestions:
- Data retention policies may have deleted the event
- Verify the event ID is a 32-char hex string
- Check if the event belongs to a different project
This also fixes the biome complexity lint by extracting the try-catch
into a separate function instead of adding it inline to func().
0 commit comments