Fix log output format string
Wrong kind of brackets caused a crash when this log output was created. Change-Id: I1be586fcd72060a5bf47d5ae7e99fac92855ff57
This commit is contained in:
parent
2261d112b2
commit
7654d2e12b
@ -75,7 +75,7 @@ def validate_URL_response(URL, expected_status_code=200,
|
|||||||
return
|
return
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
# Don't sleep as we have already waited the interval.
|
# Don't sleep as we have already waited the interval.
|
||||||
LOG.info('Request for () timed out. Retrying.'.format(URL))
|
LOG.info('Request for {} timed out. Retrying.'.format(URL))
|
||||||
except (exceptions.InvalidHttpSuccessCode,
|
except (exceptions.InvalidHttpSuccessCode,
|
||||||
exceptions.InvalidHTTPResponseBody,
|
exceptions.InvalidHTTPResponseBody,
|
||||||
requests.exceptions.SSLError):
|
requests.exceptions.SSLError):
|
||||||
|
Loading…
Reference in New Issue
Block a user