Skip to content

Add exception to console exception log #4677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

adrienbrault
Copy link
Contributor

No description provided.

@@ -156,7 +156,7 @@ Then implement the actual listener::
$command->getName()
);

$this->logger->error($message);
$this->logger->error($message, ['exception' => $exception]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use the short array syntax in the docs given that Symfony still supports PHP 5.3.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adrienbrault could you please fix this? Then it can be merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@stof
Copy link
Member

stof commented Dec 31, 2014

👍

@weaverryan
Copy link
Member

Cool, thanks!

weaverryan added a commit that referenced this pull request Jan 3, 2015
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
@weaverryan weaverryan closed this Jan 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants