diff --git a/src/python/matrix_client.py b/src/python/matrix_client.py index ea4aed80..a8e50650 100644 --- a/src/python/matrix_client.py +++ b/src/python/matrix_client.py @@ -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 - log.warning("Failed to send message: %s", resp) + log.warning(resp) # Callbacks for nio events