mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add comment
This commit is contained in:
parent
0969e81de3
commit
131261431d
1 changed files with 2 additions and 0 deletions
|
|
@ -185,6 +185,8 @@ const parseFeed = async (url: string, content: string) => {
|
|||
}
|
||||
}
|
||||
|
||||
// return await is needed to catch errors thrown by the parser
|
||||
// otherwise the error will be caught by the outer try catch
|
||||
return await parser.parseString(content)
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
|
|
|
|||
Loading…
Reference in a new issue