🐛 fix(ErrorListener): Commente temporairement la gestion des exceptions en production.
This commit is contained in:
@@ -21,7 +21,7 @@ class ErrorListener
|
||||
}
|
||||
|
||||
public function onException(ExceptionEvent $exceptionEvent) {
|
||||
$exception = $exceptionEvent->getThrowable();
|
||||
/* $exception = $exceptionEvent->getThrowable();
|
||||
|
||||
if($_ENV['APP_ENV'] == "prod") {
|
||||
if ($exception instanceof NotFoundHttpException) {
|
||||
@@ -40,6 +40,6 @@ class ErrorListener
|
||||
$exceptionEvent->setResponse($response);
|
||||
$exceptionEvent->stopPropagation();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user