Skip to content
Snippets Groups Projects
Commit 9d119bea authored by olli's avatar olli Committed by Eli Stone
Browse files

Issue #3219878 by olli: Exceptions printed to all users

parent ded4e43c
No related branches found
No related tags found
No related merge requests found
Pipeline #34129 passed
......@@ -115,7 +115,7 @@ trait GraphQLTemplateTrait {
);
}
if ($queryResult->errors) {
if ($this->env->isDebug() && $queryResult->errors) {
print('<ul class="graphql-twig-errors">');
foreach ($queryResult->errors as $error) {
printf('<li>%s</li>', $error->message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment