This commit is contained in:
Feng 2015-08-31 13:19:59 +08:00
parent 587cf4609a
commit e6f358a6dd
1 changed files with 1 additions and 1 deletions

View File

@ -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]),
ignore;
[#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
end,