Skip to content

Commit

Permalink
fix: plaid log_error syntax issue (backport #34642) (#34667)
Browse files Browse the repository at this point in the history
fix: plaid log_error syntax issue (#34642)

(cherry picked from commit ddb17a8)

Co-authored-by: Richard Case <110036763+casesolved-co-uk@users.noreply.github.com>
  • Loading branch information
mergify[bot] and casesolved-co-uk authored Mar 30, 2023
1 parent 8510c39 commit 61858a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_transactions(bank, bank_account=None, start_date=None, end_date=None):
if e.code == "ITEM_LOGIN_REQUIRED":
msg = _("There was an error syncing transactions.") + " "
msg += _("Please refresh or reset the Plaid linking of the Bank {}.").format(bank) + " "
frappe.log_error(msg, title=_("Plaid Link Refresh Required"))
frappe.log_error(message=msg, title=_("Plaid Link Refresh Required"))

return transactions

Expand Down

0 comments on commit 61858a6

Please sign in to comment.