Error handling and logging for image downloads

This commit is contained in:
Will Boyd
2019-12-25 14:25:13 -05:00
parent 1b2153ad8b
commit a593d223f4
6 changed files with 105 additions and 32 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ function getConfig() {
function checkFileExists(path) {
try {
return fs.existsSync(path);
} catch(ex) {
} catch (ex) {
return false;
}
}