summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/keymanager/openpgp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/keymanager/openpgp.py b/src/leap/keymanager/openpgp.py
index 0d5a866..a843261 100644
--- a/src/leap/keymanager/openpgp.py
+++ b/src/leap/keymanager/openpgp.py
@@ -680,7 +680,7 @@ class OpenPGPScheme(EncryptionScheme):
self._assert_gpg_result_ok(result)
defer.returnValue(result.data)
except errors.GPGError as e:
- logger.error('Failed to decrypt: %s.' % str(e))
+ logger.warning('Failed to encrypt: %s.' % str(e))
raise errors.EncryptError()
@defer.inlineCallbacks
@@ -726,7 +726,7 @@ class OpenPGPScheme(EncryptionScheme):
defer.returnValue((result.data, sign_valid))
except errors.GPGError as e:
- logger.error('Failed to decrypt: %s.' % str(e))
+ logger.warning('Failed to decrypt: %s.' % str(e))
raise errors.DecryptError(str(e))
def is_encrypted(self, data):