Fixed missing IndexError handling
This commit is contained in:
parent
54af4399a6
commit
7825d7ded3
@ -41,7 +41,7 @@ async def send_content(app: Client, http_session: ClientSession) -> None:
|
|||||||
)
|
)
|
||||||
).results
|
).results
|
||||||
)
|
)
|
||||||
except (KeyError, AttributeError, TypeError):
|
except (KeyError, AttributeError, TypeError, IndexError):
|
||||||
logger.info(app._("post_empty", "console"))
|
logger.info(app._("post_empty", "console"))
|
||||||
if app.config["reports"]["error"]:
|
if app.config["reports"]["error"]:
|
||||||
await app.send_message(
|
await app.send_message(
|
||||||
|
Reference in New Issue
Block a user