mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
wip
This commit is contained in:
@@ -10,7 +10,6 @@ class Handler extends ExceptionHandler
|
||||
/**
|
||||
* A list of the exception types that are not reported.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $dontReport = [
|
||||
\Illuminate\Auth\AuthenticationException::class,
|
||||
@@ -50,7 +49,7 @@ class Handler extends ExceptionHandler
|
||||
|
||||
// try to upgrade generic exceptions to more specific ones
|
||||
if (! config('app.debug')) {
|
||||
if ($exception instanceof \Illuminate\View\ViewException || $exception instanceof \Facade\Ignition\Exceptions\ViewException) {
|
||||
if ($exception instanceof \Illuminate\View\ViewException || $exception instanceof \Spatie\LaravelIgnition\Exceptions\ViewException) {
|
||||
$base = $exception->getPrevious(); // get real exception
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user