mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Propagate child sync errors up to parent, fix sync status (#2232)
* Propagate child sync errors up to parent, fix sync status * Remove testing error
This commit is contained in:
parent
03e3899541
commit
ab2cec55e7
9 changed files with 29 additions and 22 deletions
|
@ -38,8 +38,6 @@ class PlaidItem < ApplicationRecord
|
|||
end
|
||||
|
||||
def sync_data(sync, start_date: nil)
|
||||
update!(last_synced_at: Time.current)
|
||||
|
||||
begin
|
||||
Rails.logger.info("Fetching and loading Plaid data")
|
||||
fetch_and_load_plaid_data(sync)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue