Merge pull request #663 from ladybirdweb/analysis-zDv975
Apply fixes from StyleCI
This commit is contained in:
@@ -124,6 +124,7 @@ class Handler extends ExceptionHandler
|
||||
if ($e instanceof ValidationException) {
|
||||
return $this->invalidJson($request, $e);
|
||||
}
|
||||
|
||||
return response()->json(['error' => $e->getMessage()], 500);
|
||||
}
|
||||
if (config('app.debug') == true) {
|
||||
|
||||
Reference in New Issue
Block a user