fix
This commit is contained in:
parent
16882a038e
commit
38d8167b11
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user