Write data payload as hex to log

This commit is contained in:
Alex Stokes 2019-09-10 16:17:40 -04:00
parent 68e75707e4
commit f128c746f0
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -425,7 +425,7 @@ class Pubsub:
log.debug( log.debug(
"Topic validation failed: sender %s sent data %s under topic IDs: %s", "Topic validation failed: sender %s sent data %s under topic IDs: %s",
f"{base58.b58encode(msg.from_id).decode()}:{msg.seqno.hex()}", f"{base58.b58encode(msg.from_id).decode()}:{msg.seqno.hex()}",
msg.data, msg.data.hex(),
msg.topicIDs, msg.topicIDs,
) )
return return