Skip to content

Commit 810cd3f

Browse files
Adding more error info in TestCase/GraphQl/Client to help with debugging
1 parent 71927b3 commit 810cd3f

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQl

1 file changed

+1
-1
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQl/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ private function processErrors($responseBodyArray, array $responseHeaders = [],
225225
}
226226

227227
throw new ResponseContainsErrorsException(
228-
'GraphQL response contains errors: ' . $errorMessage,
228+
'GraphQL response contains errors: ' . $errorMessage . "\n" . var_export($responseBodyArray, true),
229229
$responseBodyArray,
230230
null,
231231
0,

0 commit comments

Comments
 (0)