This commit is contained in:
anlicheng 2024-08-30 11:18:49 +08:00
parent 48a2dd40cf
commit 24c16d12f5
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
%% API
-export([start_link/1, write/4, write/5, write_data/4]).
-export([get_precision/1]).
-export([get_bucket/1]).
%% gen_server callbacks
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).

View File

@ -43,6 +43,6 @@ load_env() ->
{ok, Content} ->
binary:split(string:trim(Content), <<"\n">>, [global, trim]);
{error, Reason} ->
lager:warning("[iot] read .env file get error: ~p", [Reason]),
lager:warning("[iot] read .env file: ~p, get error: ~p", [EnvFile, Reason]),
[]
end.