LimitExceededError → ErrorResponse
This commit is contained in:
parent
ecd7768c70
commit
556749aa35
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user