Skip to content

Commit

Permalink
Fix exception logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasnetau committed Feb 7, 2025
1 parent cd0d348 commit 2d09b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonRpcLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function log($level, $message, array $context = []): void
$this->write($message);

if (isset($exception)) {
$this->logException($context['exception']);
$this->logException($exception);
}
}

Expand Down

0 comments on commit 2d09b1c

Please sign in to comment.