mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Merge pull request #107 from josegonzalez/patch-1
fix: warn instead of error
This commit is contained in:
@@ -446,7 +446,7 @@ def _get_response(request, auth, template):
|
|||||||
errors, should_continue = _request_http_error(exc, auth, errors) # noqa
|
errors, should_continue = _request_http_error(exc, auth, errors) # noqa
|
||||||
r = exc
|
r = exc
|
||||||
except URLError as e:
|
except URLError as e:
|
||||||
log_error(e.reason)
|
log_warning(e.reason)
|
||||||
should_continue = _request_url_error(template, retry_timeout)
|
should_continue = _request_url_error(template, retry_timeout)
|
||||||
if not should_continue:
|
if not should_continue:
|
||||||
raise
|
raise
|
||||||
|
|||||||
Reference in New Issue
Block a user