8000 Add exception to console exception log · symfony/symfony-docs@2baace0 · GitHub
[go: up one dir, main page]

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 ch 8000 anged

+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, array('exception' => $exception));
160160
}
161161
}
162162

0 commit comments

Comments
 (0)
0