[fix] handle email exception if email account is not configured

This commit is contained in:
mbauskar 2017-06-28 10:56:50 +05:30
parent 3708df61bf
commit 27692670b1

View File

@ -31,5 +31,7 @@ Templates and update your Customer's and Supplier's GST Numbers.</p>
ERPNext Team.
""".format(gst_document_link="<a href='http://frappe.github.io/erpnext/user/manual/en/regional/india/'> ERPNext GST Document </a>")
sendmail_to_system_managers("[Important] ERPNext GST updates", message)
try:
sendmail_to_system_managers("[Important] ERPNext GST updates", message)
except Exception as e:
pass