Better error logging on sync engine upload failure

This commit is contained in:
Dan Stillman 2020-09-08 04:13:18 -04:00
parent 99b959285e
commit 8f5662ee6a

View file

@ -149,6 +149,7 @@ Zotero.Sync.Data.Engine.prototype.start = Zotero.Promise.coroutine(function* ()
throw e;
}
Zotero.debug("Upload failed -- performing download", 2);
Zotero.debug(e, 1);
downloadResult = yield this._startDownload();
Zotero.debug("Download result is " + downloadResult, 4);
throw e;