Skip to content

Commit

Permalink
Fix thrown errors other than NotFoundException get lost in RSS14Reader
Browse files Browse the repository at this point in the history
  • Loading branch information
opl- committed Nov 23, 2024
1 parent 0e68da8 commit 1a20161
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/oned/rss/RSS14Reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,12 @@ export default class RSS14Reader extends AbstractRSSReader {
outside.getChecksumPortion() + 4 * inside.getChecksumPortion(),
pattern);
}
catch (err) {
return null;
catch (ex) {
if (ex instanceof NotFoundException) {
return null;
} else {
throw ex;
}
}
}

Expand Down

0 comments on commit 1a20161

Please sign in to comment.