diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 2faf9c9..b8db840 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -76,7 +76,7 @@ class Handler extends ExceptionHandler ]); } //TypeError && ParseError && Exception - if ($e instanceof \TypeError || $e instanceof \ParseError || $e instanceof \Exception) { + /*if ($e instanceof \TypeError || $e instanceof \ParseError || $e instanceof \Exception) { return response()->json([ 'code' => -1, 'msg' => $e->getMessage(), @@ -96,7 +96,7 @@ class Handler extends ExceptionHandler 'file' => $e->getFile(), 'line' => $e->getLine(), ]); - } + }*/ return parent::render($request, $e); } }