mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-06 20:16:47 +00:00
🚧 add store pagination
This commit is contained in:
@ -43,7 +43,7 @@ def catch_closed(func):
|
||||
async def decorator(*args, **kwargs):
|
||||
try:
|
||||
return await func(*args, **kwargs)
|
||||
except asyncio.CancelledError as e:
|
||||
except asyncio.CancelledError:
|
||||
raise WebSocketClosed(1000)
|
||||
|
||||
return decorator
|
||||
|
Reference in New Issue
Block a user