Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
6657fa4c6a
commit
0dd87e255a
@@ -124,6 +124,7 @@ class Handler extends ExceptionHandler
|
|||||||
if ($e instanceof ValidationException) {
|
if ($e instanceof ValidationException) {
|
||||||
return $this->invalidJson($request, $e);
|
return $this->invalidJson($request, $e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()->json(['error' => $e->getMessage()], 500);
|
return response()->json(['error' => $e->getMessage()], 500);
|
||||||
}
|
}
|
||||||
if (config('app.debug') == true) {
|
if (config('app.debug') == true) {
|
||||||
|
Reference in New Issue
Block a user