diff --git a/ahserver/websocketProcessor.py b/ahserver/websocketProcessor.py index 2f85ca8..83c743b 100755 --- a/ahserver/websocketProcessor.py +++ b/ahserver/websocketProcessor.py @@ -150,7 +150,11 @@ class WebsocketProcessor(PythonScriptProcessor): print(f'{request.path=}2') ws = web.WebSocketResponse() print(f'{request.path=}3', ws.closed) - await ws.prepare(request) + try: + await ws.prepare(request) + except Exception as e: + print('--------except:', e) + raise e print(f'{request.path=}4') ws_pool = WsPool(ws, request.path, request.app) print(f'{request.path=}5')