fox
This commit is contained in:
parent
812ed100ed
commit
d33893d7a5
@ -159,7 +159,7 @@ handle_info({directive_reply, Reply}, State = #state{logger_pid = LoggerPid, fli
|
|||||||
case Reply of
|
case Reply of
|
||||||
{ok, RawReq, DirectiveResult} ->
|
{ok, RawReq, DirectiveResult} ->
|
||||||
iot_logger:write(LoggerPid, [<<"[success]">>, RawReq, DirectiveResult, FlightInfo]);
|
iot_logger:write(LoggerPid, [<<"[success]">>, RawReq, DirectiveResult, FlightInfo]);
|
||||||
{error, {RawReq, Error}} ->
|
{error, RawReq, Error} ->
|
||||||
iot_logger:write(LoggerPid, [<<"[error]">>, RawReq, Error, FlightInfo])
|
iot_logger:write(LoggerPid, [<<"[error]">>, RawReq, Error, FlightInfo])
|
||||||
end,
|
end,
|
||||||
{noreply, State#state{flight_num = FlightNum - 1}};
|
{noreply, State#state{flight_num = FlightNum - 1}};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user