mirror of https://github.com/zulip/zulip.git
zephyr_mirror: Add print statement for message download retries.
(imported from commit 8fc38d709679371ca338e7d819f3cf5e6d061935)
This commit is contained in:
parent
85da33c4ee
commit
b4f7165072
|
@ -289,7 +289,8 @@ def humbug_to_zephyr(options):
|
|||
except HTTPError, e:
|
||||
# 502/503 typically means the server was restarted; sleep
|
||||
# a bit, then try again
|
||||
time.sleep(1)
|
||||
print "Failed getting zephyrs; trying again in 5 seconds."
|
||||
time.sleep(5)
|
||||
if e.code == 401:
|
||||
# 401 means digest auth failed -- we need to login again
|
||||
while True:
|
||||
|
|
Loading…
Reference in New Issue