You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently result.raise_for_status() raises the error but I would like to deal with status codes later on rather than to get an exception from the client. The issue is described here: graphql-python/gql#40
Describe the solution you'd like
Add a flag, raise_for_status=True/False in client.execute().
Describe alternatives you've considered
Comment out the result.raise_for_status() line
Additional context
The text was updated successfully, but these errors were encountered:
I also ran into this issue today as well; in that because of the use of 'raise_for_status', my underlying '400' error (and its message; that would allow me to debug the issue) was eaten/stripped away from me.
Suggested Code change to allow for this functionality to be disabled?
Is your feature request related to a problem? Please describe.
Currently result.raise_for_status() raises the error but I would like to deal with status codes later on rather than to get an exception from the client. The issue is described here: graphql-python/gql#40
Describe the solution you'd like
Add a flag, raise_for_status=True/False in client.execute().
Describe alternatives you've considered
Comment out the result.raise_for_status() line
Additional context
The text was updated successfully, but these errors were encountered: