Cap
Cap copied to clipboard
Fix: Prevent secondary panics during backtrace collection on Windows and handle minidump initialization failures
Fixes CAP-DESKTOP-T8. The issue was that: Secondary panic occurred in backtrace::win64::trace while capturing stack for original panic, aborting process due to non-unwindable context.
- Disable backtrace capture in Sentry client options to prevent secondary panics during backtrace collection on Windows.
- Wrap minidump initialization in
catch_unwindto prevent panics from propagating and log any initialization failures.
This fix was generated by Seer in Sentry, triggered by Richie. 👁️ Run ID: 2575834
Not quite right? Click here to continue debugging with Seer.
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Comment @coderabbitai help to get the list of available commands and usage tips.