chore: catch anything thrown out of a fetch
This commit is contained in:
parent
e9a615de0d
commit
1e25e460fc
7 changed files with 11 additions and 9 deletions
|
@ -5,7 +5,7 @@ module.exports = async function () {
|
|||
feed.addSource('atom', 'Link', 'https://coryd.dev/links.xml')
|
||||
feed.addSource('rss', 'Letterboxd', 'https://letterboxd.com/cdme/rss')
|
||||
feed.addSource('rss', 'Oku', 'https://oku.club/rss/collection/NvEmF')
|
||||
const entries = feed.getEntries()
|
||||
const entries = feed.getEntries().catch()
|
||||
const res = await entries
|
||||
const activity = { posts: [] }
|
||||
res.forEach((entry) =>
|
||||
|
|
Reference in a new issue