mirror of
https://github.com/standardnotes/mobile.git
synced 2026-04-21 06:39:03 -04:00
Call sync observers on error
This commit is contained in:
@@ -343,6 +343,10 @@ export default class Sync {
|
||||
|
||||
onSyncCompletion(response);
|
||||
|
||||
this.syncObservers.forEach(function(mapping){
|
||||
mapping.callback();
|
||||
})
|
||||
|
||||
// this.$rootScope.$broadcast("sync:error", error);
|
||||
|
||||
this.callQueuedCallbacksAndCurrent(callback, {error: "Sync error"});
|
||||
|
||||
Reference in New Issue
Block a user