stash
This commit is contained in:
parent
a2dd06f2f9
commit
fb4b867973
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue