diff --git a/app/src/Middleware/Errors.php b/app/src/Middleware/Errors.php index 17cde71..f30df46 100644 --- a/app/src/Middleware/Errors.php +++ b/app/src/Middleware/Errors.php @@ -22,7 +22,7 @@ class Errors } catch (Error $error) { $this->logger->error($error); } - $response = $this->responseFactory->createResponse(404); + $response = $this->responseFactory->createResponse(600, 'Internal Server Error'); if (str_contains($request->getUri()->getPath(), '/api')) { return $response; }