space-game/src/ui
Michael Mainguy 8275c53fe4
All checks were successful
Build / build (push) Successful in 1m31s
Re-enable Discord widget with enhanced error logging for GraphQL debugging
Previously disabled due to GraphQL errors. Now re-enabled with comprehensive
error logging to diagnose the specific issue.

Changes to discordWidget.ts:
- Wrapped initialization in try-catch with detailed error logging
- Added step-by-step console logs through initialization process
- Added error event listener on the widget
- Added window.onerror handler to catch widgetbot/GraphQL errors

Changes to main.ts:
- Uncommented Discord widget initialization
- Added detailed error logging in catch block
- Log error type, message, stack, and GraphQL response if available

Next steps:
- Load the application in browser
- Check console for detailed error messages
- Identify specific GraphQL query/mutation causing issues
- Server ID: 1112846185913401475
- Channel ID: 1437561367908581406

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 17:18:50 -06:00
..
hud Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
screens Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
widgets Re-enable Discord widget with enhanced error logging for GraphQL debugging 2025-11-11 17:18:50 -06:00