Skip to content

Commit

Permalink
Merge pull request #9494 from mbauskar/patch-fixes
Browse files Browse the repository at this point in the history
[fix] handle email exception if email account is not configured
  • Loading branch information
saurabh6790 authored Jun 28, 2017
2 parents 3708df6 + 2769267 commit 46af07c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions erpnext/patches/v8_1/setup_gst_india.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ def send_gst_update_email():
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

0 comments on commit 46af07c

Please sign in to comment.