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 +62,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
62
62
} catch (\Exception$e) {
63
63
$f = FlattenException::createFromThrowable($e);
64
64
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()));
65
+
$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
66
67
67
$prev = $e;
68
68
do {
@@ -104,8 +104,15 @@ public static function getSubscribedEvents()
104
104
*
105
105
* @param \Exception $exception The \Exception instance
106
106
* @param string $message The error message to log
107
+
*
108
+
* @deprecated since Symfony 4.4, use "logThrowable()" instead.
0 commit comments