From e10b4c90a9831102a20006000dc08a46828f37ff Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat, 1 May 2021 00:51:49 +0200 Subject: [PATCH] Update RSS's loop to not stop on an unexpected error (#229) --- rss/rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rss/rss.py b/rss/rss.py index b56e1fa..fc092e0 100644 --- a/rss/rss.py +++ b/rss/rss.py @@ -1503,8 +1503,8 @@ class RSS(commands.Cog): except asyncio.CancelledError: break except Exception as e: - log.exception(e, exc_info=e) - break + log.error("An error has occurred in the RSS cog. Please report it.", exc_info=e) + continue async def _put_feeds_in_queue(self): log.debug("Putting feeds in queue")