diff --git a/apps/emqx_web_hook/src/emqx_web_hook.erl b/apps/emqx_web_hook/src/emqx_web_hook.erl index 7af83d749..b13b87fbe 100644 --- a/apps/emqx_web_hook/src/emqx_web_hook.erl +++ b/apps/emqx_web_hook/src/emqx_web_hook.erl @@ -338,7 +338,7 @@ send_http_request(ClientID, Params) -> ?LOG(warning, "HTTP request failed with status code: ~p", [StatusCode]), ok; {error, Reason} -> - ?LOG(error, "HTTP request error: ~p", [Reason]), + ?LOG(error, "HTTP request path ~p error: ~p", [Path, Reason]), ok end. diff --git a/rebar.config b/rebar.config index 90841fbfa..2e5a27a85 100644 --- a/rebar.config +++ b/rebar.config @@ -35,7 +35,7 @@ {erl_first_files, ["src/emqx_logger.erl", "src/emqx_rule_actions_trans.erl"]}. {deps, - [ {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.1.3"}}} + [ {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.1.4"}}} , {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.6.5"}}} , {gproc, {git, "https://github.com/uwiger/gproc", {tag, "0.8.0"}}} , {jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}}