[fix] re-raise error in sendmail exception
This commit is contained in:
parent
b30c39250f
commit
e8d2272db2
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue