fix: error log title for failing bank transactions

(cherry picked from commit 4a9fd9ef6d)
This commit is contained in:
Mangesh-Khairnar
2020-05-13 16:11:22 +05:30
committed by mergify-bot
parent f9834504c8
commit e2f53cdc83

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