diff --git a/lacre/daemon.py b/lacre/daemon.py index da2085c..280a7e2 100644 --- a/lacre/daemon.py +++ b/lacre/daemon.py @@ -48,9 +48,9 @@ class MailEncryptionProxy: try: new_message = operation.perform(message) send(new_message, operation.recipients()) - except (EncryptionException, MailSerialisationException, UnicodeEncodeError) as e: + except (EncryptionException, MailSerialisationException, UnicodeEncodeError): # If the message can't be encrypted, deliver cleartext. - LOG.error('Unable to encrypt message, delivering in cleartext: %s', e) + LOG.exception('Unable to encrypt message, delivering in cleartext') if not isinstance(operation, KeepIntact): self._send_unencrypted(operation, envelope, send) else: