diff --git a/cookbook/console/logging.rst b/cookbook/console/logging.rst index 031121051f1..ae69c4264da 100644 --- a/cookbook/console/logging.rst +++ b/cookbook/console/logging.rst @@ -156,7 +156,7 @@ Then implement the actual listener:: $command->getName() ); - $this->logger->error($message); + $this->logger->error($message, array('exception' => $exception)); } }