typo in comment

This commit is contained in:
Sebastian Hugentobler 2020-12-23 23:46:30 +01:00
parent 5104bf7e2d
commit 3a7fbafaeb
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

6
nzz.js
View File

@ -69,7 +69,11 @@ function moveDownload(tmpDir, outDir, date) {
}
let destFile = path.join(outDir, `${date.isoDate()}.pdf`);
fs.copyFileSync(srcFile, destFile);
try {
fs.copyFileSync(srcFile, destFile);
} catch {
// this means it was tried to download a wrong issue
}
});
}