Skip to content

Commit

Permalink
Merge pull request #415 from metricq/reduce-reconnect-warning-verbosity
Browse files Browse the repository at this point in the history
reduce verbosity of reconnect warnings
  • Loading branch information
mosquito authored Sep 29, 2021
2 parents 52639b0 + 607407c commit 99a90e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aio_pika/robust_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ async def connect(self, timeout: TimeoutType = None, **kwargs):
await self.__cleanup_connection(e)

log.warning(
'Connection attempt to "%s" failed. '
'Connection attempt to "%s" failed: %s. '
"Reconnecting after %r seconds.",
self,
e,
self.reconnect_interval,
exc_info=True,
)
except asyncio.CancelledError as e:
await self.__cleanup_connection(e)
Expand Down

0 comments on commit 99a90e4

Please sign in to comment.