Ignore 404 on S3 file download
This commit is contained in:
parent
fbf2764ef8
commit
f22e8ef4fb
|
@ -813,6 +813,11 @@ Zotero.Sync.Storage.ZFS = (function () {
|
|||
+ " in Zotero.Sync.Storage.ZFS.downloadFile()";
|
||||
Zotero.debug(msg, 1);
|
||||
Components.utils.reportError(msg);
|
||||
// Ignore files not found in S3
|
||||
if (status == 404) {
|
||||
deferred.resolve(false);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
Zotero.debug(Zotero.File.getContents(destFile, null, 4096), 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user