No description
Find a file
Kumi db37f31b93
Added error handling for feed processing errors
This commit adds error handling for feed processing errors in the RSS
bot's feed polling logic. The previous version was failing to handle
exceptions that were thrown during the feed parsing process, which could
lead to unpredictable behavior and potential data corruption. This new
version catches any exceptions that occur during the feed parsing step
and logs them, preventing the bot from becoming stuck in an infinite
loop due to these errors.

The changes include a try/except block around the feed parsing code,
where any exceptions are caught and logged using Python's logging
module. The bot's state is not modified when there is an error during
feed processing, which ensures that the bot does not become stuck in an
infinite loop due to errors. Additionally, the commit includes a new
logger method for logging exceptions, which helps identify any issues
with the feed parsing process and prevents them from affecting the bot's
overall performance.

This commit has several benefits:

* It improves the reliability of the RSS bot by handling errors that
could occur during feed processing and preventing the bot from becoming
stuck in an infinite loop due to these errors.
* It makes it easier for users to troubleshoot issues with the RSS bot,
since error messages are now being logged and can be easily identified.
* It helps to prevent data corruption by ensuring that the bot's state
is not modified when there is an error during feed processing.
2024-03-02 17:51:15 +01:00
src/matrix_rssbot Added error handling for feed processing errors 2024-03-02 17:51:15 +01:00
.gitignore Created RSSBot 2024-03-02 15:31:14 +01:00
config.dist.ini Splitting feed processing off into async task 2024-03-02 17:13:04 +01:00
LICENSE Created RSSBot 2024-03-02 15:31:14 +01:00
pantalaimon.example.conf Enhance Pantalaimon integration and config 2023-12-05 10:09:14 +01:00
pantalaimon_first_login.py Enhance Pantalaimon integration and config 2023-12-05 10:09:14 +01:00
pyproject.toml Created RSSBot 2024-03-02 15:31:14 +01:00
README.md Created RSSBot 2024-03-02 15:31:14 +01:00
rssbot-pantalaimon.service Created RSSBot 2024-03-02 15:31:14 +01:00
rssbot.service Created RSSBot 2024-03-02 15:31:14 +01:00

Matrix-RSSBot

This is a simple, no-database RSS to Matrix bridge bot.