-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Pass EXCEPTION_POINTERS to before_send_func for crashpad backend (on_crash candidate) #592
Comments
As this callback is being invoked for every event (not only crashes), that wouldn’t easily be possible. I think the best solution here would be to implement a dedicated |
As far as I can see Though, I agree that Anyway, thank you for your answer! I will stick to my patched solution for now and wait for updates. |
We are currently investigating implementing a "before_crash"/"on_crash" hook. |
This was completed with https://github.com/getsentry/sentry-native/releases/tag/0.5.0. The author of this issue (@espkk) implemented a considerable part of this feature. |
Hi,
I'm wondering why
ExceptionInfo
is not passed tobefore_send_func
as a second (hint
) argument here:sentry-native/src/backends/sentry_backend_crashpad.cpp
Line 143 in c3b7b07
This could be useful for example to choose a cleanup strategy depending on the exception code when
before_send_func
is called.Is this by design or can be changed?
The text was updated successfully, but these errors were encountered: