test: show traceback on smtp error
This commit is contained in:
parent
f6d110f115
commit
beaaf16758
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ class SMTPServer:
|
|||
|
||||
except _socket.error as e:
|
||||
# Invalid mail server -- due to refusing connection
|
||||
frappe.msgprint(_('Invalid Outgoing Mail Server or Port'))
|
||||
frappe.msgprint(_('Invalid Outgoing Mail Server or Port <br> {}').format(frappe.get_traceback()))
|
||||
traceback = sys.exc_info()[2]
|
||||
raise_(frappe.ValidationError, e, traceback)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue