This commit is contained in:
freearhey committed 2021-03-12 18:44:51 +03:00
1 parent d5767f4ca0
commit 67974b1c74
3 files changed
+53 -123

No files matched your search

+8 -1
View File
@@ -57,7 +57,14 @@ async function main() {
return programs
})
.then(utils.sleep(config.delay))
.catch(console.log)
.catch(err => {
console.log(
` ${item.channel.site} - ${item.channel.xmltv_id} - ${item.date.format(
'MMM D, YYYY'
)} (0 programs)`
)
console.log(` Error: ${err.message}`)
})
programs = programs.concat(progs)
}