Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbert Takacs committed Feb 15, 2024
2 parents 720dcf6 + 46cc3b3 commit 5f48e06
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/rss/rss.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ export class RssService implements OnModuleInit {
name: rss.name,
disable: true
});
await this.telegramService.sendRss(
rss.chat_id,
`Feed failure, disabling feed: ${rss.name}`
);
await this.telegramService.sendRss(
rss.chat_id,
JSON.stringify(failures)
);
throw new Error("FEED_FAILURE");
}
} catch (error) {
Expand Down

0 comments on commit 5f48e06

Please sign in to comment.