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:
Zach Gollwitzer
2025-05-09 14:56:49 -04:00
committed by GitHub
parent 03e3899541
commit ab2cec55e7
9 changed files with 29 additions and 22 deletions

View File

@@ -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