fix: error log title for failing bank transactions

This commit is contained in:
Mangesh-Khairnar 2020-05-13 16:11:22 +05:30
parent 9513171d3f
commit 4a9fd9ef6d

View File

@ -209,7 +209,7 @@ def new_bank_transaction(transaction):
result.append(new_transaction.name)
except Exception:
frappe.throw(frappe.get_traceback())
frappe.throw(title=_('Bank transaction creation error'))
return result