add debug

This commit is contained in:
anlicheng 2025-11-28 15:57:06 +08:00
parent ab4c11042e
commit fc102073b1

View File

@ -59,6 +59,8 @@ websocket_info({topic_broadcast, Topic, Content}, State = #state{}) ->
<<"params">> => #{<<"topic">> => Topic, <<"content">> => Content} <<"params">> => #{<<"topic">> => Topic, <<"content">> => Content}
}, [force_utf8])), }, [force_utf8])),
lager:debug("[ws_channel] will publish topic: ~p, message: ~p", [Topic, Req]),
{reply, {text, Req}, State}; {reply, {text, Req}, State};
%% service进程关闭 %% service进程关闭