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])),
|
||||
{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.
|
||||
Loading…
x
Reference in New Issue
Block a user