mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
fix: Exception handling in Plaid Integration
fix: Exception handling in Plaid Integration
This commit is contained in:
@@ -226,7 +226,7 @@ def new_bank_transaction(transaction):
|
||||
try:
|
||||
tags += transaction["category"]
|
||||
tags += ["Plaid Cat. {}".format(transaction["category_id"])]
|
||||
except KeyError:
|
||||
except (KeyError, TypeError):
|
||||
pass
|
||||
|
||||
if not frappe.db.exists("Bank Transaction", dict(transaction_id=transaction["transaction_id"])):
|
||||
|
||||
Reference in New Issue
Block a user