Skip to content

Conversation

@areibman
Copy link
Owner

Implement robust error handling to prevent app crashes from uncaught exceptions and unhandled promise rejections, particularly on Rosetta.

The crash report indicated an EXC_CRASH (SIGABRT) with Termination Reason: Namespace ROSETTA. This suggests unhandled errors or promise rejections were terminating the process, especially when running under Rosetta translation. The added global error handlers and specific try-catch blocks will catch these issues, log them, and prevent the application from crashing.


Open in Cursor Open in Web

- Add global error handlers for uncaught exceptions and unhandled rejections in main process
- Add catch handler for app.whenReady() promise chain
- Improve error logging in IPC handlers and GitHub API calls
- Add global error handlers in renderer process to prevent crashes
- Add proper error handling to prevent SIGABRT crashes from unhandled async errors
@cursor
Copy link

cursor bot commented Oct 10, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

3 participants