Update RSS's loop to not stop on an unexpected error (#229)

This commit is contained in:
jack1142
2021-05-01 00:51:49 +02:00
committed by GitHub
parent db8b755b9b
commit e10b4c90a9

View File

@@ -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")