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::doRenderException()" method is deprecated since Symfony 4.4, use "doRenderThrowable()" instead.', \get_class($this)));
@@ -62,7 +67,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
62
67
} catch (\Exception$e) {
63
68
$f = FlattenException::createFromThrowable($e);
64
69
65
-
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
70
+
$this->logThrowable($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
66
71
67
72
$prev = $e;
68
73
do {
@@ -104,8 +109,17 @@ public static function getSubscribedEvents()
104
109
*
105
110
* @param \Exception $exception The \Exception instance
106
111
* @param string $message The error message to log
112
+
*
113
+
* @deprecated since Symfony 4.4, use "logThrowable()" instead
0 commit comments