mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00: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:
@@ -82,8 +82,6 @@ class Account < ApplicationRecord
|
||||
end
|
||||
|
||||
def sync_data(sync, start_date: nil)
|
||||
update!(last_synced_at: Time.current)
|
||||
|
||||
Rails.logger.info("Processing balances (#{linked? ? 'reverse' : 'forward'})")
|
||||
sync_balances
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user