LimitExceededError → ErrorResponse

This commit is contained in:
miruka 2019-07-06 17:29:00 -04:00
parent ecd7768c70
commit 556749aa35

View File

@ -240,9 +240,9 @@ class MatrixClient(nio.AsyncClient):
) )
async def onLimitExceededError(self, resp: nio.LimitExceededError) -> None: async def onErrorResponse(self, resp: nio.ErrorResponse) -> None:
# TODO: show something in the client # TODO: show something in the client
log.warning("Failed to send message: %s", resp) log.warning(resp)
# Callbacks for nio events # Callbacks for nio events