Broader exception clause for conflict mail encryption
This commit is contained in:
parent
96ec215e73
commit
235603e715
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class ConflictMessage:
|
|||
# support every possible key algorithm yet, esp. it can't encrypt to ed25519 keys.
|
||||
try:
|
||||
mime: email.mime.base.MIMEBase = self._encrypt_message(msg)
|
||||
except pgpy.errors.PGPEncryptionError:
|
||||
except Exception:
|
||||
mime = email.mime.text.MIMEText(msg, _subtype='plain', _charset='utf-8')
|
||||
# Set all the email headers
|
||||
mime['Subject'] = f'MultiSchleuder {self._schleuder} - Key Conflict'
|
||||
|
|
Loading…
Reference in a new issue