throw it out err (#2003)

This commit is contained in:
华仔
2024-12-06 17:23:42 +08:00
committed by GitHub
parent b5403a6866
commit 4c8d42153e

View File

@@ -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)