From b259efda6b55a3edc80d2d112725daf8a4334b08 Mon Sep 17 00:00:00 2001 From: Alexandr Chernyaev Date: Sun, 12 Jan 2025 02:26:52 +0300 Subject: [PATCH] Revert default `Exceptions` --- bootstrap/app.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index 8605b560..a580bbe3 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -3,6 +3,7 @@ use App\Http\Middleware\RedirectToBanPage; use App\Http\Middleware\SetDefaultVersionForUrl; use Illuminate\Foundation\Application; +use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; return Application::configure(basePath: dirname(__DIR__)) @@ -25,4 +26,7 @@ 'goronich', ]); }) + ->withExceptions(function (Exceptions $exceptions) { + // ... + }) ->create();