From 4c8d42153ec5adc722eac0213e383ab6703bd337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BB=94?= <41766775+huahua132@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:23:42 +0800 Subject: [PATCH] throw it out err (#2003) --- lualib/http/websocket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/http/websocket.lua b/lualib/http/websocket.lua index 163d3d8b..e0ff85c0 100755 --- a/lualib/http/websocket.lua +++ b/lualib/http/websocket.lua @@ -450,7 +450,7 @@ function M.accept(socket_id, handle, protocol, addr, options) if closed then try_handle(ws_obj, "close") else - try_handle(ws_obj, "error") + try_handle(ws_obj, "error", err) end else -- error(err)