Merge pull request #21712 from Mangesh-Khairnar/fix-error-log-title

fix: error log title for failing bank transactions
This commit is contained in:
Deepesh Garg 2020-05-15 12:16:53 +05:30 committed by GitHub
commit d75af70110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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