Skip to content

Commit 2baace0

Browse files
adrienbraultweaverryan
authored andcommitted
Add exception to console exception log
1 parent 9958c41 commit 2baace0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/console/logging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Then implement the actual listener::
156156
$command->getName()
157157
);
158158

159-
$this->logger->error($message);
159+
$this->logger->error($message, array('exception' => $exception));
160160
}
161161
}
162162

0 commit comments

Comments
 (0)