Prevent 500 error without logs

This commit is contained in:
Hillel Coren 2024-07-09 17:01:57 +03:00
parent d6e2f2cbf8
commit ef45c25f17

View File

@ -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)) {