diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 325b86c5..ed1976b0 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -25,4 +25,8 @@ public function register(): void { (new ErrorReporting())->report($e); }); } + + protected function shouldReturnJson($request, Throwable $e): bool { + return true; + } }