Closed Znarkus closed 9 years ago
Yes, instead of calling Log::error()
, use this :
if ( ! ends_with( get_class( $e ) , 'NotFoundHttpException' ) ) {
Log::error()
}
Even better would be:
if ( ! $e instanceof \Symfony\Component\HttpKernel\Exception\NotFoundHttpException)
Hi! Is there any way to ignore NotFoundHttpException?