Skip to content

Commit

Permalink
Update Connection.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored and nekufa committed Mar 14, 2024
1 parent 44f9d2b commit 968e34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ protected function getPayload(int $length): string

private function processException(Throwable $e)
{
$this->logger?->error($e->getMessage());
$this->logger?->error($e->getMessage(), ['exception' => $e]);

if (!$this->config->reconnect) {
throw $e;
Expand Down

0 comments on commit 968e34f

Please sign in to comment.