Skip to content

Commit 7803c95

Browse files
committed
Fix thrown errors other than NotFoundException get lost in RSS14Reader
1 parent 8b5bf58 commit 7803c95

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/core/oned/rss/RSS14Reader.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,12 @@ export default class RSS14Reader extends AbstractRSSReader {
141141
outside.getChecksumPortion() + 4 * inside.getChecksumPortion(),
142142
pattern);
143143
}
144-
catch (err) {
145-
return null;
144+
catch (ex) {
145+
if (ex instanceof NotFoundException) {
146+
return null;
147+
} else {
148+
throw ex;
149+
}
146150
}
147151
}
148152

0 commit comments

Comments
 (0)