retry_execute can not handle TransportQueryError #472
Labels
type: bug
An issue or pull request relating to a bug
type: documentation
An issue or pull request for improving or updating the documentation
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
See here, user defined
retry_execute
wraps onlyself._execute
. I have a poor quality backend which will return error on random.So I want to catch all exceptions include
TransportQueryError
. But current framework won't work.gql/gql/client.py
Lines 1628 to 1644 in 48bb94c
BTW, current document is a little misleading:
Users like me will believe remove giveup keyword will alllow it retry on
TransportQueryError
The text was updated successfully, but these errors were encountered: