From ef45c25f175df0266ad59bae4b2466f914769d43 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 9 Jul 2024 17:01:57 +0300 Subject: [PATCH] Prevent 500 error without logs --- app/Exceptions/Handler.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 93c44c99afb7..c580e7b3feae 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -94,11 +94,6 @@ class Handler extends ExceptionHandler */ public function report(Throwable $exception) { - if (! Schema::hasTable('accounts')) { - info('account table not found'); - return; - } - if (Ninja::isHosted()) { // if($exception instanceof ThrottleRequestsException && class_exists(\Modules\Admin\Events\ThrottledExceptionRaised::class)) {