fix log
This commit is contained in:
parent
83d4801fe8
commit
3c69d1a5c1
|
@ -126,7 +126,7 @@ handle_cast({unregister, ClientId, Pid}, State) ->
|
||||||
[_] ->
|
[_] ->
|
||||||
ignore;
|
ignore;
|
||||||
[] ->
|
[] ->
|
||||||
?LOG(error, "Cannot find registered: ~p", [Pid], State)
|
lager:warning("CM(~s): Cannot find registered pid ~p", [ClientId, Pid])
|
||||||
end,
|
end,
|
||||||
{noreply, setstats(State)};
|
{noreply, setstats(State)};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue