From c6771a57b636cb43b92f33db4288648fb31e1b80 Mon Sep 17 00:00:00 2001 From: zhouzb Date: Fri, 14 May 2021 14:03:33 +0800 Subject: [PATCH] chore(update dep): update dep of ehttpc --- apps/emqx_web_hook/src/emqx_web_hook.erl | 2 +- rebar.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"}}}