Skip to content

Commit

Permalink
Merge pull request #17 from bcl/master
Browse files Browse the repository at this point in the history
Show result code and extra_msg on Unexpected errors
  • Loading branch information
gnuman committed Feb 24, 2015
2 parents de8479c + d212526 commit 6ab361c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zanataclient/zanatalib/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def messages(self,res,content,extra_msg=None):
'Service Temporarily Unavailable, stop processing!')
else:
raise UnexpectedStatusException('Error',
'Unexpected Status, failed to push')
'Unexpected Status (%s), failed to push: %s' % (res['status'], extra_msg or ""))

0 comments on commit 6ab361c

Please sign in to comment.