Skip to content

Commit 3630abf

Browse files
committed
Add exception to console exception log
1 parent 921f3cd commit 3630abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/console/logging.rst

Lines changed: 1 addition & 1 deletion
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, ['exception' => $exception]);
160160
}
161161
}
162162

0 commit comments

Comments
 (0)