fix user agent format on debug log
This commit is contained in:
parent
08650d5e8e
commit
5af72b02e9
|
@ -549,7 +549,7 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
|
|||
logger.debug(
|
||||
'remote node incoming address: %s:%i',
|
||||
self.destination.host, self.peerNode.port)
|
||||
logger.debug('user agent: %s', self.userAgent)
|
||||
logger.debug('user agent: %s', self.userAgent.decode("utf-8", "replace"))
|
||||
logger.debug('streams: [%s]', ','.join(map(str, self.streams)))
|
||||
if not self.peerValidityChecks():
|
||||
# ABORT afterwards
|
||||
|
|
Reference in New Issue
Block a user