You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.1 and will be removed in 5.0, use "%s" or "%s" instead.', ExceptionListener::class, RenderControllerExceptionListener::class, LoggingExceptionListener::class), E_USER_DEPRECATED);
27
-
28
26
/**
29
27
* ExceptionListener.
30
28
*
31
29
* @author Fabien Potencier <fabien@symfony.com>
32
-
*
33
-
* @deprecated since Symfony 4.1, use RenderControllerExceptionListener or LoggingExceptionListener instead
34
30
*/
35
31
class ExceptionListener implements EventSubscriberInterface
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()));
59
+
$message = sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine());
@trigger_error(sprintf('The %s() method is deprecated since Symfony 4.1 and will be removed in 5.0. Use %s instead.', __METHOD__, LoggingExceptionListener::class), E_USER_DEPRECATED);
110
+
102
111
if (null !== $this->logger) {
103
112
if (!$exceptioninstanceof HttpExceptionInterface || $exception->getStatusCode() >= 500) {
0 commit comments