mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
bug 1201069 - retry symbol upload on any 500 error. r=ryanvm
--HG-- extra : commitid : AGN1INkPlp2 extra : rebase_source : 4fc7b0ee42a8108d454582dd712e59b830c42368
This commit is contained in:
parent
d177b04a17
commit
d0e6114c5e
@ -80,7 +80,7 @@ def main():
|
||||
timeout=120)
|
||||
# 500 is likely to be a transient failure.
|
||||
# Break out for success or other error codes.
|
||||
if r.status_code != 500:
|
||||
if r.status_code < 500:
|
||||
break
|
||||
print_error(r)
|
||||
except requests.exceptions.RequestException as e:
|
||||
|
Loading…
Reference in New Issue
Block a user