Retry library sync on 409 error

Closes #928
This commit is contained in:
Dan Stillman 2017-04-18 01:44:53 -04:00
parent ff74e0ff00
commit 698eb3358a

View file

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