We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45a3a37 commit e1c522fCopy full SHA for e1c522f
src/Controller/GraphController.php
@@ -72,7 +72,7 @@ private function createResponse(Request $request, ?string $schemaName, bool $bat
72
if ($this->debugMode) {
73
throw $e;
74
} else {
75
- return new JsonResponse('', 400);
+ return new JsonResponse($e->getMessage(), 400);
76
}
77
78
0 commit comments