graphql-client
graphql-client copied to clipboard
print error response message from server if present
A graphql service was returning '500 Internal Server Error', thats what graphql-client kept printing, on debugging further I figured that they were sending the actual reason in the response body.
Hope this patch helps people integrating GraphQL services save couple of hours in debugging.