Fixed missing IndexError handling

This commit is contained in:
Profitroll 2023-06-21 21:43:23 +02:00
parent 54af4399a6
commit 7825d7ded3
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -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(