aprs.me/assets/js
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
..
features Replace any types with specific TypeScript types 2025-07-17 17:55:27 -05:00
hooks cleanup 2025-07-18 14:44:52 -05:00
types Replace any types with specific TypeScript types 2025-07-17 17:55:27 -05:00
app.js Use Sentry Loader script to handle CORS errors gracefully 2025-07-18 15:51:21 -05:00
map.ts Remove debug console.log statements from JavaScript files 2025-07-18 15:37:05 -05:00
map_fixes.ts Remove debug console.log statements from JavaScript files 2025-07-18 15:37:05 -05:00
map_helpers.ts Remove debug console.log statements from JavaScript files 2025-07-18 15:37:05 -05:00
topbar.js js tweak 2025-07-05 13:16:37 -05:00