more useful debugging message
This commit is contained in:
parent
eac465012a
commit
974d328fb6
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ int libp2p_protocol_marshal(const unsigned char* incoming, size_t incoming_size,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handler == NULL) {
|
if (handler == NULL) {
|
||||||
libp2p_logger_error("protocol", "Unable to find handler for %s.\n", str);
|
libp2p_logger_error("protocol", "Session [%s]: Unable to find handler for %s.\n", session->remote_peer_id, str);
|
||||||
return -1;
|
return -1;
|
||||||
} else {
|
} else {
|
||||||
libp2p_logger_debug("protocol", "Found handler for %s.\n", str);
|
libp2p_logger_debug("protocol", "Found handler for %s.\n", str);
|
||||||
|
|
Loading…
Reference in a new issue