mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-12-08 19:33:28 +00:00
Merge remote-tracking branch 'paride/rest-verbose'
This commit is contained in:
commit
b458e86baf
@ -41,6 +41,7 @@ class Rest:
|
|||||||
exc = e
|
exc = e
|
||||||
except (HTTPError, URLError) as e:
|
except (HTTPError, URLError) as e:
|
||||||
if e.code not in (503, 502):
|
if e.code not in (503, 502):
|
||||||
|
self.logger.error("Caught error %d downloading '%s'", e.code, url)
|
||||||
raise
|
raise
|
||||||
self.logger.info(
|
self.logger.info(
|
||||||
"Caught error %d downloading '%s', will retry %d more times."
|
"Caught error %d downloading '%s', will retry %d more times."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user