fix debug
This commit is contained in:
parent
60136212d4
commit
df82221a95
@ -252,6 +252,6 @@ format_data(LocationCode, DynamicLocationCode, Fields, Timestamp) when is_binary
|
|||||||
Body = iolist_to_binary(jiffy:encode(Data, [force_utf8])),
|
Body = iolist_to_binary(jiffy:encode(Data, [force_utf8])),
|
||||||
{ok, Body}
|
{ok, Body}
|
||||||
catch _:Reason ->
|
catch _:Reason ->
|
||||||
lager:warning("[iot_zd_endpoint] location_code: ~p, format_data get error: ~p", LocationCode, Reason),
|
lager:warning("[iot_zd_endpoint] location_code: ~p, format_data get error: ~p", [LocationCode, Reason]),
|
||||||
error
|
error
|
||||||
end.
|
end.
|
||||||
Loading…
x
Reference in New Issue
Block a user