fix
This commit is contained in:
parent
a0e8131972
commit
1e96ff8bbf
@ -132,7 +132,7 @@ websocket_handle({binary, <<?PACKET_PUBLISH_RESPONSE, PacketId:32, Body/binary>>
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
websocket_handle(Info, State) ->
|
websocket_handle(Info, State) ->
|
||||||
lager:debug("[ws_channel] get a error messag: ~p", [Info]),
|
lager:error("[ws_channel] get a error messag: ~p, channel will close", [Info]),
|
||||||
{stop, State}.
|
{stop, State}.
|
||||||
|
|
||||||
%% 处理关闭信号
|
%% 处理关闭信号
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user