Fix one bug, create another

master
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
1 changed files with 1 additions and 1 deletions

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())