From 6abfd3b5b03969564424dc03313d63ae1de86100 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 22 Oct 2018 05:30:20 -0400 Subject: [PATCH] Fix 'req is undefined' error after consecutive S3 failures --- chrome/content/zotero/xpcom/storage/zfs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js index 8176278a5d..c8f93605df 100644 --- a/chrome/content/zotero/xpcom/storage/zfs.js +++ b/chrome/content/zotero/xpcom/storage/zfs.js @@ -669,6 +669,8 @@ Zotero.Sync.Storage.Mode.ZFS.prototype = { Zotero.debug(this._s3ConsecutiveFailures + " consecutive S3 failures -- aborting", 1); this._s3ConsecutiveFailures = 0; + let e = Zotero.getString('sync.storage.error.zfs.restart', Zotero.appName); + throw new Error(e); } else { let msg = "S3 returned " + e.status + " (" + item.libraryKey + ") "