mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
retry 500 response on discovery doc
See example failure at: https://travis-ci.org/github/jay0lee/GAM/jobs/667171534#L879
This commit is contained in:
@@ -752,7 +752,8 @@ def getService(api, http):
|
||||
controlflow.wait_on_failure(n, retries, str(e))
|
||||
continue
|
||||
controlflow.system_error_exit(17, str(e))
|
||||
except (http_client.ResponseNotReady, socket.error) as e:
|
||||
except (http_client.ResponseNotReady, socket.error,
|
||||
googleapiclient.errors.HttpError) as e:
|
||||
if n != retries:
|
||||
controlflow.wait_on_failure(n, retries, str(e))
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user