Fix 'req is undefined' error after consecutive S3 failures
This commit is contained in:
parent
053599993b
commit
6abfd3b5b0
1 changed files with 2 additions and 0 deletions
|
@ -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 + ") "
|
||||
|
|
Loading…
Reference in a new issue