-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add opt-in screenshot attachment for crash events captured on Windows/Linux #582
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes like this reeeally make me think we should put a linter in the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll probably cover this in scope of #575
Co-authored-by: Stefan Jandl <reg@bitfox.at>
# Conflicts: # CHANGELOG.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to double check: In case the screenshot capture fails to write the file to disk, does the crashhandler deal with it gracefully?
If a screenshot can't be captured for some reason crashpad will simply ignore that and capture crash as usual without adding a corresponding attachment. At the same time logs should contain info about screenshot capturing failure reason. |
Is this on the docs? Couldn't find any reference to screenshots there |
Related to #567