add debug
This commit is contained in:
parent
ab4c11042e
commit
fc102073b1
@ -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进程关闭
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user