From 7825d7ded300a69606b90622dfc8acafcbe96320 Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 21 Jun 2023 21:43:23 +0200 Subject: [PATCH] Fixed missing IndexError handling --- modules/sender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sender.py b/modules/sender.py index 82bcff1..cdab5b7 100644 --- a/modules/sender.py +++ b/modules/sender.py @@ -41,7 +41,7 @@ async def send_content(app: Client, http_session: ClientSession) -> None: ) ).results ) - except (KeyError, AttributeError, TypeError): + except (KeyError, AttributeError, TypeError, IndexError): logger.info(app._("post_empty", "console")) if app.config["reports"]["error"]: await app.send_message(