mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-30 02:08:58 -04:00
Add more logs
This commit is contained in:
parent
d96b3a9e4b
commit
ec62d5bc38
1 changed files with 3 additions and 0 deletions
|
@ -334,6 +334,7 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
|
|||
// we get too many connection attempts.
|
||||
connection.setPeerType(Connection.PeerType.DIRECT_MSG_PEER);
|
||||
|
||||
log.debug("Try to decrypt...");
|
||||
DecryptedMsgWithPubKey decryptedMsgWithPubKey = optionalEncryptionService.get().decryptAndVerify(
|
||||
prefixedSealedAndSignedMessage.sealedAndSigned);
|
||||
|
||||
|
@ -347,6 +348,8 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
|
|||
log.info("Wrong receiverAddressMaskHash. The message is not intended for us.");
|
||||
}
|
||||
} catch (CryptoException e) {
|
||||
log.warn(message.toString());
|
||||
log.warn(e.toString());
|
||||
log.warn("Decryption of SealedAndSignedMessage failed. " +
|
||||
"That is expected if the message is not intended for us.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue