mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: catch rss parsing failure in a nested try-catch block
This commit is contained in:
parent
a2ab8327ca
commit
0969e81de3
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ const parseFeed = async (url: string, content: string) => {
|
|||
}
|
||||
}
|
||||
|
||||
return parser.parseString(content)
|
||||
return await parser.parseString(content)
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
return null
|
||||
|
|
|
|||
Loading…
Reference in a new issue