mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 02:54:10 +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:
@@ -27,7 +27,11 @@ module Syncable
|
||||
end
|
||||
|
||||
def sync_error
|
||||
latest_sync.error
|
||||
latest_sync&.error
|
||||
end
|
||||
|
||||
def last_synced_at
|
||||
latest_sync&.last_ran_at
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user