diff --git a/chrome/content/zotero/xpcom/sync/syncEngine.js b/chrome/content/zotero/xpcom/sync/syncEngine.js index 3bc2e7f711..27b3b98b84 100644 --- a/chrome/content/zotero/xpcom/sync/syncEngine.js +++ b/chrome/content/zotero/xpcom/sync/syncEngine.js @@ -715,6 +715,7 @@ Zotero.Sync.Data.Engine.prototype._startUpload = Zotero.Promise.coroutine(functi libraryVersion = yield this._uploadObjects( objectType, objectIDs[objectType], libraryVersion ); + Zotero.debug("Library version is " + libraryVersion); } Zotero.debug(JSON.stringify(objectDeletions)); @@ -792,6 +793,8 @@ Zotero.Sync.Data.Engine.prototype._uploadSettings = Zotero.Promise.coroutine(fun Zotero.Sync.Data.Engine.prototype._uploadObjects = Zotero.Promise.coroutine(function* (objectType, ids, libraryVersion) { let objectTypePlural = Zotero.DataObjectUtilities.getObjectTypePlural(objectType); let objectsClass = Zotero.DataObjectUtilities.getObjectsClassForObjectType(objectType); + Zotero.debug("Uploading " + objectTypePlural); + Zotero.debug(ids); let queue = []; for (let id of ids) { @@ -803,6 +806,8 @@ Zotero.Sync.Data.Engine.prototype._uploadObjects = Zotero.Promise.coroutine(func }); } + Zotero.debug(queue); + let failureDelayGenerator = null; while (queue.length) {