fix debug

This commit is contained in:
anlicheng 2024-08-08 12:29:11 +08:00
parent 60136212d4
commit df82221a95

View File

@ -252,6 +252,6 @@ format_data(LocationCode, DynamicLocationCode, Fields, Timestamp) when is_binary
Body = iolist_to_binary(jiffy:encode(Data, [force_utf8])),
{ok, Body}
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
end.