Skip to content

Conversation

@seer-by-sentry
Copy link
Contributor

Fixes CAP-DESKTOP-M5. The issue was that: GraphicsCapture API failure throws unhandled C++ exception across FFI boundary, corrupting Rust runtime and causing fatal crash.

  • Wrap CreateForMonitor and CreateForWindow calls in catch_unwind to handle C++ exceptions thrown by the Graphics Capture API on Windows 10 build 18363.
  • Log warnings when panics occur during Graphics Capture API calls to aid in diagnosing issues on older Windows versions.
  • Improve error messages to provide more context and troubleshooting steps for users encountering Graphics Capture API failures, especially on Windows 10 build 18363.

This fix was generated by Seer in Sentry, triggered by Richie. 👁️ Run ID: 1917985

Not quite right? Click here to continue debugging with Seer.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

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.

0 participants