Don't swallow the stack trace in backend.http.request if a request fails
This commit is contained in:
parent
01ce9284a1
commit
8440320031
1 changed files with 1 additions and 0 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue