mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Do not raise on Plaid item not found exceptions for item deletions (#1646)
This commit is contained in:
parent
abccba3947
commit
72fd177707
2 changed files with 14 additions and 0 deletions
|
@ -131,5 +131,7 @@ class PlaidItem < ApplicationRecord
|
|||
|
||||
def remove_plaid_item
|
||||
plaid_provider.remove_item(access_token)
|
||||
rescue StandardError => e
|
||||
Rails.logger.warn("Failed to remove Plaid item #{id}: #{e.message}")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue