소스 검색

chore(log): update log content

zhouzb 4 년 전
부모
커밋
3984f8cd2f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/emqx_web_hook/src/emqx_web_hook.erl

+ 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]),
             ?LOG(warning, "HTTP request failed with status code: ~p", [StatusCode]),
             ok;
             ok;
         {error, Reason} ->
         {error, Reason} ->
-            ?LOG(error, "HTTP request path ~p error: ~p", [Path, Reason]),
+            ?LOG(error, "HTTP request error: ~p", [Reason]),
             ok
             ok
     end.
     end.