mosquito / aiormq

Pure python AMQP 0.9.1 asynchronous client library
Other
268 stars 58 forks source link

Fix error when joining non `str` types #167

Closed jkr78 closed 1 year ago

jkr78 commented 1 year ago

AMQPConnectionError.__repr__ uses join on self.args. But self.args may contain types other than str.

Example:

<AMQPConnectionError: (111, 'Connection refused')>

Instead of join - refactor to use repr for self.args - as in other places.