[tools][transit] Reformatted log message.

This commit is contained in:
Khlopkova Olga 2021-01-19 12:14:14 +03:00 committed by Tatiana Yan
parent 3428ee9d9e
commit 976e128b50

View file

@ -106,9 +106,7 @@ def load_gtfs_feed_zip(path, url):
except requests.exceptions.HTTPError as http_err:
logger.error(f"HTTP error {http_err} downloading zip from url {url}")
except requests.exceptions.RequestException as ex:
logger.error(
f"Exception {ex} downloading zip from url {url}"
)
logger.error(f"Exception {ex} downloading zip from url {url}")
retries -= 1
return False