From a4fefc2b5aaf7c8d3e89d86fffbeca0e4d5f2339 Mon Sep 17 00:00:00 2001 From: spencerrlongg Date: Thu, 21 Nov 2024 11:30:27 -0600 Subject: [PATCH] get rid of comment --- app/Exceptions/Handler.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 4b98391b31..0a6f020879 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -74,14 +74,6 @@ class Handler extends ExceptionHandler return response()->json(Helper::formatStandardApiResponse('error', null, 'Invalid JSON'), 422); } - //if ($e instanceof ModelNotFoundException) { - // $class = get_class($e); - // match($class) { - // - // }; - // return redirect()->route()->with('error', trans('general.model_not_found', ['model' => $e])); - //} - // Handle SCIM exceptions if ($e instanceof SCIMException) { try {