fix
This commit is contained in:
parent
48a2dd40cf
commit
24c16d12f5
@ -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]).
|
||||
|
||||
@ -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.
|
||||
Loading…
x
Reference in New Issue
Block a user