diff --git a/apps/iot/src/http_handler/host_handler.erl b/apps/iot/src/http_handler/host_handler.erl index 5265cdc..ebd02bc 100644 --- a/apps/iot/src/http_handler/host_handler.erl +++ b/apps/iot/src/http_handler/host_handler.erl @@ -125,7 +125,7 @@ handle_request("POST", "/host/activate", _, #{<<"uuid">> := UUID, <<"auth">> := {ok, Ref} -> receive {response, Ref, Response} -> - lager:debug("[iot_host_handler] host_id uuid: ~p, publish topic success, get response: ~p", [Response]) + lager:debug("[iot_host_handler] host_id uuid: ~p, publish topic success, get response: ~p", [UUID, Response]) after Timeout * 1000 -> lager:debug("[iot_host_handler] host_id uuid: ~p, publish topic success, but get ack timeout", [UUID]) end; @@ -151,7 +151,7 @@ handle_request("POST", "/host/activate", _, #{<<"uuid">> := UUID, <<"auth">> := {ok, Ref} -> receive {response, Ref, Response} -> - lager:debug("[iot_host_handler] host_id uuid: ~p, publish topic success, get response: ~p", [Response]) + lager:debug("[iot_host_handler] host_id uuid: ~p, publish topic success, get response: ~p", [UUID, Response]) after Timeout * 1000 -> lager:debug("[iot_host_handler] host_id uuid: ~p, publish topic success, but get ack timeout", [UUID]) end;