fix logging error

This commit is contained in:
Jack Robison 2019-07-24 22:12:51 -04:00
parent 2ac4883bda
commit 35e7cc685f
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -187,7 +187,7 @@ class BlobExchangeClientProtocol(asyncio.Protocol):
return await self._download_blob()
except OSError as e:
# i'm not sure how to fix this race condition - jack
log.warning("race happened downloading %s from %s:%i", blob_hash, self.peer_address, self.peer_port)
log.warning("race happened downloading %s from %s:%s", blob_hash, self.peer_address, self.peer_port)
# return self._blob_bytes_received, self.transport
raise
except asyncio.TimeoutError: