Skip to content

Commit

Permalink
Merge pull request #92 from jehiah/senderror_92
Browse files Browse the repository at this point in the history
SendError debugging
  • Loading branch information
mreiferson committed Jul 21, 2014
2 parents d90a76a + 3232b66 commit b5e5d6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nsq/nsq.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def __init__(self, msg, error=None):

def __str__(self):
return 'SendError: %s (%s)' % (self.msg, self.error)

def __repr__(self):
return 'SendError: %s (%s)' % (self.msg, self.error)


class ConnectionClosedError(Error):
Expand Down

0 comments on commit b5e5d6d

Please sign in to comment.