mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1802738 - Fix the error log when deleting canceled downloads. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D163174
This commit is contained in:
parent
4e85ff0fe9
commit
53758c6b7d
@ -101,7 +101,10 @@ async function isPlaceholder(path) {
|
||||
return true;
|
||||
}
|
||||
} catch (ex) {
|
||||
console.error(ex);
|
||||
// Canceling the download may have removed the placeholder already.
|
||||
if (ex.name != "NotFoundError") {
|
||||
console.error(ex);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user