v1.5.24ab - Changed Handler.php
This commit is contained in:
@@ -53,10 +53,7 @@ class Handler extends ExceptionHandler
|
|||||||
// Otherwise display internal error message
|
// Otherwise display internal error message
|
||||||
if(app()->environment() === 'production') {
|
if(app()->environment() === 'production') {
|
||||||
return view('errors.500');
|
return view('errors.500');
|
||||||
} else {
|
|
||||||
return parent::render($request, $exception);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::render($request, $exception);
|
return parent::render($request, $exception);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user