Merge pull request #27667 from cogk/fix-UnboundLocalError-partial_mail
fix(email): Fix unbound variable in make_error_msg
This commit is contained in:
commit
5deba2e370
1 changed files with 1 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ class EmailServer:
|
|||
)
|
||||
|
||||
def make_error_msg(self, uid, msg_num):
|
||||
partial_mail = None
|
||||
traceback = frappe.get_traceback(with_context=True)
|
||||
with suppress(Exception):
|
||||
# retrieve headers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue