[fix] re-raise error in sendmail exception

This commit is contained in:
Anand Doshi 2015-09-29 16:30:32 +05:30
parent b30c39250f
commit e8d2272db2

View file

@ -209,6 +209,7 @@ def sendmail(site, communication_name, print_html=None, print_format=None, attac
except:
frappe.db.rollback()
raise
else:
frappe.db.commit()