WebSocket连接断开隐藏调用栈
This commit is contained in:
parent
9506d7a977
commit
672168cb20
1 changed files with 1 additions and 3 deletions
|
@ -96,9 +96,7 @@ def log(ws):
|
||||||
ws.receive()
|
ws.receive()
|
||||||
except Exception:
|
except Exception:
|
||||||
config.ws_connections.remove(ws)
|
config.ws_connections.remove(ws)
|
||||||
logger.debug_exception(
|
logger.debug(f"WebSocket客户端断开连接,共{len(config.ws_connections)}条连接")
|
||||||
f"WebSocket客户端断开连接,共{len(config.ws_connections)}条连接"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def post_require_token(f):
|
def post_require_token(f):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue