From 38d8167b118b68cc1fb96f5c2ce37cce205c7d37 Mon Sep 17 00:00:00 2001 From: anlicheng Date: Wed, 9 Aug 2023 17:54:12 +0800 Subject: [PATCH] fix --- apps/iot/src/http_handler/host_handler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;