Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
better error message when exchange fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Aug 7, 2014
1 parent a899e57 commit d9ce188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gittip/billing/exchanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def skim_credit(amount):

def repr_exception(e):
if isinstance(e, balanced.exc.HTTPError):
return e.message.message
return '%s %s, %s' % (e.status_code, e.status, e.description)
else:
return repr(e)

Expand Down

1 comment on commit d9ce188

@Changaco
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should help with cases of #2372 in the future.

Please sign in to comment.