We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 688278d commit 3ac8295Copy full SHA for 3ac8295
src/Sentry/Laravel/Logs/LogsHandler.php
@@ -98,7 +98,7 @@ public function getBatchFormatter(): FormatterInterface
98
protected function doWrite($record): void
99
{
100
$context = $record['context'];
101
- $exception = $record['context']['exception'] ?? null;
+ $exception = $context['exception'] ?? null;
102
103
if ($exception instanceof Throwable) {
104
// Unset the exception object from the log context
0 commit comments