aprs.me/lib/aprsme_web/components
Graham McIntire 0d46b89c68
Use Sentry Loader script to handle CORS errors gracefully
- Replaced direct Sentry SDK script tag with the Sentry Loader
- The loader handles CORS/network failures gracefully without breaking the app
- Moved Sentry configuration to use the onLoad callback
- Maintains the same configuration (100% sampling, BrowserTracing, etc.)

The Sentry Loader is a small inline script that:
1. Captures errors immediately (even before SDK loads)
2. Loads the SDK asynchronously
3. Handles load failures gracefully
4. Replays captured errors once SDK is loaded

This approach avoids CORS errors breaking the page load while still
providing error tracking when the SDK is accessible.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 15:51:21 -05:00
..
layouts Use Sentry Loader script to handle CORS errors gracefully 2025-07-18 15:51:21 -05:00
core_components.ex add more translations 2025-07-18 11:18:04 -05:00
info_map_component.ex cleanup 2025-07-18 14:44:52 -05:00
layouts.ex liveview links 2025-07-05 13:33:30 -05:00