Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2018-08-14 09:31:23 +00:00
committed by StyleCI Bot
parent 6657fa4c6a
commit 0dd87e255a

View File

@@ -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) {