Skip to content

Commit

Permalink
ref(native): Clarify before_send with Crashpad (#5092)
Browse files Browse the repository at this point in the history
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
  • Loading branch information
2 people authored and adinauer committed Jun 9, 2022
1 parent 9f42fd7 commit 4a38cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/includes/configuration/before-send/native.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ int main(void) {
The callback is executed in the same thread as the call to `sentry_capture_event`. Work performed by the function may thus block the executing thread. For this reason, consider avoiding heavy work in `before_send`.
<Alert level="warning" title="Not Supported in Crashpad">
<Alert level="warning" title="Not Supported in Crashpad on macOS">
The Crashpad Backend sends Minidumps with an additional event payload out-of-process. `before_send` hooks are not invoked when capturing crashes using Crashpad.
The Crashpad backend on macOS doesn't currently support notifying the crashing process and thus can't correctly terminate sessions or call the registered `before_send` hook. It will also lose any events queued for sending at the time of the crash.
</Alert>

0 comments on commit 4a38cf2

Please sign in to comment.