We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd7bc6 commit 2224dc5Copy full SHA for 2224dc5
src/lib/rss/parser.ts
@@ -47,6 +47,9 @@ export const parseRSSFeedAndSaveToDatabase = async (url: string, podcast_index_i
47
timerManager.start(timerFullRunLabel);
48
49
try {
50
+ if (!url || !podcast_index_id) {
51
+ throw new Error(`parseRSSFeedAndSaveToDatabase: url or podcast_index_id is missing for ${url} ${podcast_index_id}`);
52
+ }
53
54
loggerService.info(`parseRSSFeedAndSaveToDatabase ${url} ${podcast_index_id}`);
55
feed = await handleGetRSSFeed(url, podcast_index_id);
0 commit comments