Added catch statement if youtube-dl tags could not be retrieved

This commit is contained in:
Tzahi12345
2020-06-08 13:04:16 -04:00
parent 6893dbd506
commit a074166903

View File

@@ -1743,7 +1743,10 @@ async function autoUpdateYoutubeDL() {
resolve(true);
});
}
})
.catch(err => {
logger.error('Failed to check youtube-dl version for an update.')
logger.error(err)
});
});
}