rm lager:error log

This commit is contained in:
Feng 2016-02-16 02:15:52 +08:00
parent e8c0546525
commit 3561680697
1 changed files with 0 additions and 2 deletions

View File

@ -152,10 +152,8 @@ handle_call({register_mod, Type, Mod, Opts, Seq}, _From, State) ->
ets:insert(?ACCESS_CONTROL_TAB, {tab_key(Type), NewMods}),
ok;
{error, Error} ->
lager:error("Access Control: register ~s error - ~p", [Mod, Error]),
{error, Error};
{'EXIT', Reason} ->
lager:error("Access Control: register ~s EXIT, reason - ~p", [Mod, Reason]),
{error, Reason}
end
end), State};