bugfix
This commit is contained in:
parent
c7fa6ef8f7
commit
88776d25f5
@ -150,7 +150,11 @@ class WebsocketProcessor(PythonScriptProcessor):
|
|||||||
print(f'{request.path=}2')
|
print(f'{request.path=}2')
|
||||||
ws = web.WebSocketResponse()
|
ws = web.WebSocketResponse()
|
||||||
print(f'{request.path=}3', ws.closed)
|
print(f'{request.path=}3', ws.closed)
|
||||||
|
try:
|
||||||
await ws.prepare(request)
|
await ws.prepare(request)
|
||||||
|
except Exception as e:
|
||||||
|
print('--------except:', e)
|
||||||
|
raise e
|
||||||
print(f'{request.path=}4')
|
print(f'{request.path=}4')
|
||||||
ws_pool = WsPool(ws, request.path, request.app)
|
ws_pool = WsPool(ws, request.path, request.app)
|
||||||
print(f'{request.path=}5')
|
print(f'{request.path=}5')
|
||||||
|
Loading…
Reference in New Issue
Block a user