From 80f39af2b4a4401d690c86a837de249cc80b0508 Mon Sep 17 00:00:00 2001 From: Adrien Brault Date: Mon, 22 Dec 2014 14:04:50 +0100 Subject: [PATCH] Add exception to console exception log --- cookbook/console/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }