[fix] log pop connect error in scheduler log
This commit is contained in:
parent
54ec63ad0f
commit
2ef9f7900c
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,9 @@ class EmailServer:
|
|||
return True
|
||||
|
||||
except _socket.error:
|
||||
# log performs rollback and logs error in scheduler log
|
||||
log("receive.connect_pop")
|
||||
|
||||
# Invalid mail server -- due to refusing connection
|
||||
frappe.msgprint(_('Invalid Mail Server. Please rectify and try again.'))
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue