This commit is contained in:
Jellyfrog
2022-11-07 19:19:01 +01:00
parent 0d465ebaaf
commit cf5ed4fb51
14 changed files with 20 additions and 18 deletions

View File

@@ -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
}