mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
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…
Add table
Reference in a new issue