This commit is contained in:
jedi 2024-05-04 01:03:51 +02:00
parent a2dd06f2f9
commit fb4b867973

View file

@ -292,5 +292,5 @@ class LMTPHandler:
random_filename = 'mail-' + str(uuid.uuid4())
with open(random_filename, 'wb') as f:
f.write(content)
log.error(type(e), e, f"Saved email to {random_filename}")
log.error(f"Saved email to {random_filename} because of error %s (%s)", (e, type(e)))
return '451 Internal server error'