Skip to content

[WIP] [Console] Add basic support for automatic console exception logging #19382

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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix coding standards
  • Loading branch information
jameshalsall authored and James Halsall committed Aug 17, 2016
commit 17ef8dbdc55f96e01e9deec63a3f6d6ac6f9801e
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*
* Attempts to log exceptions or abnormal terminations of console commands.
*
* @package Symfony\Component\Console\EventListener;
* @author James Halsall <james.t.halsall@googlemail.com>
*/
class ExceptionListener implements EventSubscriberInterface
Expand Down Expand Up @@ -85,7 +84,7 @@ public static function getSubscribedEvents()
{
return array(
ConsoleEvents::EXCEPTION => array('onKernelException', -128),
ConsoleEvents::TERMINATE => array('onKernelTerminate', -128)
ConsoleEvents::TERMINATE => array('onKernelTerminate', -128),
);
}
}