mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Add more logs
This commit is contained in:
parent
d96b3a9e4b
commit
ec62d5bc38
@ -334,6 +334,7 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
|
|||||||
// we get too many connection attempts.
|
// we get too many connection attempts.
|
||||||
connection.setPeerType(Connection.PeerType.DIRECT_MSG_PEER);
|
connection.setPeerType(Connection.PeerType.DIRECT_MSG_PEER);
|
||||||
|
|
||||||
|
log.debug("Try to decrypt...");
|
||||||
DecryptedMsgWithPubKey decryptedMsgWithPubKey = optionalEncryptionService.get().decryptAndVerify(
|
DecryptedMsgWithPubKey decryptedMsgWithPubKey = optionalEncryptionService.get().decryptAndVerify(
|
||||||
prefixedSealedAndSignedMessage.sealedAndSigned);
|
prefixedSealedAndSignedMessage.sealedAndSigned);
|
||||||
|
|
||||||
@ -347,6 +348,8 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
|
|||||||
log.info("Wrong receiverAddressMaskHash. The message is not intended for us.");
|
log.info("Wrong receiverAddressMaskHash. The message is not intended for us.");
|
||||||
}
|
}
|
||||||
} catch (CryptoException e) {
|
} catch (CryptoException e) {
|
||||||
|
log.warn(message.toString());
|
||||||
|
log.warn(e.toString());
|
||||||
log.warn("Decryption of SealedAndSignedMessage failed. " +
|
log.warn("Decryption of SealedAndSignedMessage failed. " +
|
||||||
"That is expected if the message is not intended for us.");
|
"That is expected if the message is not intended for us.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user