diff --git a/cli/src/Command/Queue.php b/cli/src/Command/Queue.php index 6193dff..6a59b81 100644 --- a/cli/src/Command/Queue.php +++ b/cli/src/Command/Queue.php @@ -62,7 +62,7 @@ class Queue extends Command try { $response = $this->client->get($uri); } catch (ClientExceptionInterface $exception) { - $this->logger->error($exception->getMessage()); + $this->logger->error($exception); return Console\Command\Command::FAILURE; } $output->writeln("Response Code: {$response->getStatusCode()}");