bug 1201069 - retry symbol upload on any 500 error. r=ryanvm

--HG--
extra : commitid : AGN1INkPlp2
extra : rebase_source : 4fc7b0ee42a8108d454582dd712e59b830c42368
This commit is contained in:
Ted Mielczarek 2015-09-04 08:13:05 -04:00
parent d177b04a17
commit d0e6114c5e

View File

@ -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: