Fix one bug, create another

This commit is contained in:
Arinerron 2018-04-18 20:25:33 -07:00
parent 99edaa1e6f
commit 6883133cfb
No known key found for this signature in database
GPG Key ID: 99383627861C62F0

View File

@ -325,7 +325,7 @@ class OnionrUtils:
try: try:
message = self._core._crypto.pubKeyDecrypt(message.replace('-pm-', ''), encodedData=True, anonymous=True) message = self._core._crypto.pubKeyDecrypt(message.replace('-pm-', ''), encodedData=True, anonymous=True)
except nacl.exceptions.CryptoError as e: except nacl.exceptions.CryptoError as e:
logger.debug('Unable to decrypt ' + i, error=e) logger.error('Unable to decrypt ' + i, error=e)
pass pass
else: else:
logger.info('Recieved message: ' + message.decode()) logger.info('Recieved message: ' + message.decode())