You could put this in the start/global.php
/*
* Error listeners
*/
App::error(function(Exception $exception, $code) {
if ($exception instanceof \Symfony\Component\HttpKernel\Exception\NotFoundHttpException)
Log::error('NotFoundHttpException Route: ' . Request::url() );
Log::error($exception);
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community