Skip to content

Commit

Permalink
minor #4677 Add exception to console exception log (adrienbrault)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Jan 3, 2015
2 parents 9958c41 + 2baace0 commit e889813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/console/logging.rst
Expand Up @@ -156,7 +156,7 @@ Then implement the actual listener::
$command->getName()
);

$this->logger->error($message);
$this->logger->error($message, array('exception' => $exception));
}
}

Expand Down

0 comments on commit e889813

Please sign in to comment.