warning
This commit is contained in:
parent
587cf4609a
commit
e6f358a6dd
|
@ -110,7 +110,7 @@ handle_cast({register, Client = #mqtt_client{client_id = ClientId, client_pid =
|
||||||
lager:error("ClientId '~s' has been registered with ~p", [ClientId, Pid]),
|
lager:error("ClientId '~s' has been registered with ~p", [ClientId, Pid]),
|
||||||
ignore;
|
ignore;
|
||||||
[#mqtt_client{client_pid = OldPid}] ->
|
[#mqtt_client{client_pid = OldPid}] ->
|
||||||
lager:error("ClientId '~s' is duplicated: pid=~p, oldpid=~p", [ClientId, Pid, OldPid]);
|
lager:warning("ClientId '~s' is duplicated: pid=~p, oldpid=~p", [ClientId, Pid, OldPid]);
|
||||||
[] ->
|
[] ->
|
||||||
ok
|
ok
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue