I sentry reporting

This commit is contained in:
Fabian @ Blax Software 2026-03-23 10:15:45 +01:00
parent bdcfcd00f1
commit c77eec57c1
1 changed files with 7 additions and 0 deletions

View File

@ -621,6 +621,13 @@ class Handler implements MessageComponentInterface
}
}
// Flush Sentry before the child exits so captured events are actually sent.
// Without this, events from report()/captureException() may be lost because
// the child calls exit(0) before the async transport can dispatch them.
if (app()->bound('sentry')) {
app('sentry')->flush();
}
$ipc->closeChild();
exit(0);
}