fix
This commit is contained in:
parent
c2ca75ba16
commit
38b7e5a5cd
@ -130,10 +130,12 @@ handle_cast({forward, LocationCode, DynamicLocationCode, EventType, Params},
|
|||||||
{noreply, State#state{fail_counter = FailCounter + 1}}
|
{noreply, State#state{fail_counter = FailCounter + 1}}
|
||||||
end;
|
end;
|
||||||
false ->
|
false ->
|
||||||
iot_logger:write(LoggerPid, [<<"DISCARD">>, list_to_binary(Url1), Body])
|
iot_logger:write(LoggerPid, [<<"DISCARD">>, list_to_binary(Url1), Body]),
|
||||||
|
{noreply, State#state{fail_counter = FailCounter + 1}}
|
||||||
end;
|
end;
|
||||||
error ->
|
error ->
|
||||||
lager:notice("[iot_donghuoliren_endpoint] format_event error, message is: ~p", [Params])
|
lager:notice("[iot_donghuoliren_endpoint] format_event error, message is: ~p", [Params]),
|
||||||
|
{noreply, State#state{fail_counter = FailCounter + 1}}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
%% @private
|
%% @private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user