Skip to content

Commit e889813

Browse files
committed
minor #4677 Add exception to console exception log (adrienbrault)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4677). Discussion ---------- Add exception to console exception log Commits ------- 2baace0 Add exception to console exception log
2 parents 9958c41 + 2baace0 commit e889813

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)