Просмотр исходного кода

chore(update dep): update dep of ehttpc

zhouzb 4 лет назад
Родитель
Сommit
c6771a57b6
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      apps/emqx_web_hook/src/emqx_web_hook.erl
  2. 1 1
      rebar.config

+ 1 - 1
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.
 

+ 1 - 1
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"}}}