API usage overhaul #27

Merged
profitroll merged 17 commits from overhaul into dev 2023-06-28 00:57:31 +03:00
Showing only changes of commit 7825d7ded3 - Show all commits

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(