Enhance security

This commit is contained in:
zhouzb 2020-02-07 09:19:21 +08:00
parent b9bdb03005
commit 839465fbd8
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ safe_execute(Fun, Args) ->
Result -> Result Result -> Result
catch catch
_:Reason:Stacktrace -> _:Reason:Stacktrace ->
?LOG(error, "Failed to execute ~p(~p): ~p", [Fun, Args, {Reason, Stacktrace}]), ?LOG(error, "Failed to execute ~p: ~p", [Fun, {Reason, Stacktrace}]),
ok ok
end. end.