Skip to content

Commit 4a38cf2

Browse files
supervacuusimatwawana
authored andcommitted
ref(native): Clarify before_send with Crashpad (#5092)
Co-authored-by: Isabel <[email protected]>
1 parent 9f42fd7 commit 4a38cf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/includes/configuration/before-send/native.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ int main(void) {
1717
1818
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`.
1919
20-
<Alert level="warning" title="Not Supported in Crashpad">
20+
<Alert level="warning" title="Not Supported in Crashpad on macOS">
2121
22-
The Crashpad Backend sends Minidumps with an additional event payload out-of-process. `before_send` hooks are not invoked when capturing crashes using Crashpad.
22+
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.
2323
2424
</Alert>

0 commit comments

Comments
 (0)