Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
More info in this error message, please.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Feb 29, 2016
1 parent 9348dd9 commit f290380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pdcupdater/handlers/compose.py
Expand Up @@ -78,7 +78,8 @@ def initialize(self, pdc):
self._import_compose(pdc, compose_id, url)
except Exception as e:
if hasattr(e, 'response'):
log.exception("Failed to import %r %r" % (url, e.response.text))
log.exception("Failed to import %r - %r %r" % (
url, e.response.url, e.response.text))
else:
log.exception("Failed to import %r %r" % url)

Expand Down

0 comments on commit f290380

Please sign in to comment.