get rid of comment

This commit is contained in:
spencerrlongg 2024-11-21 11:30:27 -06:00
parent a3cdb3b62f
commit a4fefc2b5a

View file

@ -74,14 +74,6 @@ class Handler extends ExceptionHandler
return response()->json(Helper::formatStandardApiResponse('error', null, 'Invalid JSON'), 422); 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 // Handle SCIM exceptions
if ($e instanceof SCIMException) { if ($e instanceof SCIMException) {
try { try {