mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
get rid of comment
This commit is contained in:
parent
a3cdb3b62f
commit
a4fefc2b5a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue