Handle spurious Google error when enabling project APIs (#1436)

This commit is contained in:
Ross Scroggs
2021-10-20 10:48:41 -07:00
committed by GitHub
parent 4ca1c3537b
commit 36830250b5
2 changed files with 12 additions and 0 deletions

View File

@@ -7244,6 +7244,7 @@ def enableGAMProjectAPIs(GAMProjectAPIs,
gapi_errors.ErrorReason.FORBIDDEN,
gapi_errors.ErrorReason.PERMISSION_DENIED
],
retry_reasons=[gapi_errors.ErrorReason.INTERNAL_SERVER_ERROR],
name=service_name)
print(f' API: {api}, Enabled{currentCount(j, jcount)}')
break