From cd9044753f5781401376176550aacd13b205cfc0 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 20 Mar 2024 03:02:24 -0400 Subject: [PATCH] Re-register these providers --- bootstrap/app.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index 24bd044b4..75601838f 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -53,6 +53,12 @@ return Application::configure(basePath: dirname(__DIR__)) 'recaptcha' => \App\Http\Middleware\VerifyReCaptcha::class, ]); }) + ->withSingletons([ + \Illuminate\Contracts\Console\Kernel::class => \App\Console\Kernel::class, + \Illuminate\Contracts\Debug\ExceptionHandler::class => \App\Exceptions\Handler::class, + ]) ->withExceptions(function (Exceptions $exceptions) { - // - })->create(); + + }) + ->create(); +