Skip to content

Commit

Permalink
Use repr for metadata error print in logs (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvoinarovskyi committed Jun 10, 2020
1 parent fa9868c commit 68be906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiokafka/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ async def _metadata_update(self, cluster_metadata, topics):
metadata = await conn.send(metadata_request)
except (KafkaError, asyncio.TimeoutError) as err:
log.error(
'Unable to request metadata from node with id %s: %s',
'Unable to request metadata from node with id %s: %r',
node_id, err)
continue

Expand Down

0 comments on commit 68be906

Please sign in to comment.