Skip to content

Commit

Permalink
Also addresses issue #419
Browse files Browse the repository at this point in the history
Basic.Cancel does not have reply_code or reply_text.
  • Loading branch information
gmr committed Feb 17, 2014
1 parent 470c245 commit 1877f3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pika/exceptions.py
Expand Up @@ -82,8 +82,7 @@ def __repr__(self):

class ConsumerCancelled(AMQPChannelError):
def __repr__(self):
return 'Server cancelled consumer (%s): %s' % (self.args[0].reply_code,
self.args[0].reply_text)
return 'Server cancelled consumer'


class InvalidChannelNumber(AMQPError):
Expand Down

0 comments on commit 1877f3d

Please sign in to comment.