podverse-parser 5.0.2 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/lib/rss/parser.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB,oBAM5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAe,MAAM,oDASnD,CAAC;AAQF,eAAO,MAAM,6BAA6B,QAAe,MAAM,oBAAoB,MAAM,
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/lib/rss/parser.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB,oBAM5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAe,MAAM,oDASnD,CAAC;AAQF,eAAO,MAAM,6BAA6B,QAAe,MAAM,oBAAoB,MAAM,iBAgExF,CAAC"}
|
package/dist/lib/rss/parser.js
CHANGED
|
@@ -87,6 +87,12 @@ const parseRSSFeedAndSaveToDatabase = (url, podcast_index_id) => __awaiter(void
|
|
|
87
87
|
const feedLogService = new podverse_orm_1.FeedLogService();
|
|
88
88
|
yield feedLogService.update(feed, { last_finished_parse_time: new Date() });
|
|
89
89
|
}
|
|
90
|
+
catch (error) {
|
|
91
|
+
podverse_helpers_1.logger.error('parseRSSFeedAndSaveToDatabase error');
|
|
92
|
+
podverse_helpers_1.logger.error('podcast_index_id:', podcast_index_id);
|
|
93
|
+
podverse_helpers_1.logger.error('url:', url);
|
|
94
|
+
podverse_helpers_1.logger.error(error);
|
|
95
|
+
}
|
|
90
96
|
finally {
|
|
91
97
|
yield feedService.update(feed.id, { is_parsing: null });
|
|
92
98
|
}
|