Closed
Description
There is an inconsistency between HTTP and CLI APIs when it comes to exception handling: by default Symfony logs an exception using \Symfony\Component\HttpKernel\EventListener\ExceptionListener::logException()
.
CLI API only renders an exception to OutputInterface
.
There is an entry in Cookbook that describes how to implement such functionality, but I suggest to implement it in the Framework itself and enable by default.