mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Merge pull request #19581 from Snuffleupagus/issue-19579
Write string-data into the `.error`-file created for broken test-manifest links (issue 19579)
This commit is contained in:
commit
1aee9d5c61
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ async function downloadManifestFiles(manifest) {
|
|||
} catch (ex) {
|
||||
console.error(`Error during downloading of ${url}:`, ex);
|
||||
fs.writeFileSync(file, ""); // making it empty file
|
||||
fs.writeFileSync(`${file}.error`, ex);
|
||||
fs.writeFileSync(`${file}.error`, ex.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue