Don't swallow the stack trace in backend.http.request if a request fails

This commit is contained in:
Fabio Manganiello 2020-04-22 23:46:05 +00:00
parent 01ce9284a1
commit 8440320031
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class HttpRequest(object):
response.raise_for_status()
except Exception as e:
self.logger.exception(e)
self.logger.warning('Encountered an error while retrieving {}: {}'.
format(self.args.url, str(e)))