🐛 fix(ErrorListener): Commente temporairement la gestion des exceptions en production.

This commit is contained in:
Serreau Jovann
2025-11-22 21:12:13 +01:00
parent a1979cae54
commit dcb92e9eec

View File

@@ -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();
}
}
}*/
}
}