Skip to content

Prevent Sentry failures from blocking UI startup - #33

Merged
Dmytro-Fedoryshyn merged 2 commits into
mainfrom
non-blocking-sentry-renderer-init
Jul 9, 2026
Merged

Prevent Sentry failures from blocking UI startup#33
Dmytro-Fedoryshyn merged 2 commits into
mainfrom
non-blocking-sentry-renderer-init

Conversation

@Dmytro-Fedoryshyn

@Dmytro-Fedoryshyn Dmytro-Fedoryshyn commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR adjusts renderer startup so Sentry initialization runs in the background and any initialization failure is handled without preventing the UI from loading.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts renderer startup so Sentry initialization runs in the background and any initialization failure is handled without preventing the UI from loading.

Changes:

  • Replaces the blocking await initializeSentry() with a fire-and-forget initialization.
  • Adds a warning log when Sentry initialization fails.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/renderer/index.tsx Outdated
@Dmytro-Fedoryshyn
Dmytro-Fedoryshyn marked this pull request as ready for review July 9, 2026 09:57
@Dmytro-Fedoryshyn
Dmytro-Fedoryshyn merged commit ee67115 into main Jul 9, 2026
2 checks passed
@Dmytro-Fedoryshyn
Dmytro-Fedoryshyn deleted the non-blocking-sentry-renderer-init branch July 9, 2026 10:40
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