From 698eb3358a2fb7ae6dc14db5290475cb66c43e3a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 18 Apr 2017 01:44:53 -0400 Subject: [PATCH] Retry library sync on 409 error Closes #928 --- chrome/content/zotero/xpcom/sync/syncEngine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/sync/syncEngine.js b/chrome/content/zotero/xpcom/sync/syncEngine.js index f32671659..5f78979af 100644 --- a/chrome/content/zotero/xpcom/sync/syncEngine.js +++ b/chrome/content/zotero/xpcom/sync/syncEngine.js @@ -1593,6 +1593,7 @@ Zotero.Sync.Data.Engine.prototype._handleUploadError = Zotero.Promise.coroutine( } throw new Error(`Unexpected index value ${index}`); + case 409: // TEMP: from classic sync case 412: return this.UPLOAD_RESULT_LIBRARY_CONFLICT; }