Description
When does the problem happen
Environment
- OS: [e.g. Windows 10, 64-bit] Windows 10, 64-bit
- Compiler: [e.g. MSVC 19] MSVC 19
- CMake version and config: [e.g. 3.17.2, SENTRY_BACKEND=inproc] 3.16.4, SENTRY_BACKEND=crashpad_handler
Steps To Reproduce
I wanted to know how I could perform some operations right after a crash has occurred, since I want to do somethings like the following:
- trim a log file to include only the last 100 lines and then write it into a file and upload that file along with the crash report to sentry
- zip a certain file and send it along the crash report
I came across before_send() but as stated in the docs, but it states that crashpad does not invoke this when a crash occurs. Please note that my primary intention is for crashes only and not for any message/error events.
Description
When does the problem happen
Environment
Steps To Reproduce
I wanted to know how I could perform some operations right after a crash has occurred, since I want to do somethings like the following:
I came across
before_send()but as stated in the docs, but it states that crashpad does not invoke this when a crash occurs. Please note that my primary intention is for crashes only and not for any message/error events.