فهرست منبع

fix: add log for timeout

Stefan Strigler 3 سال پیش
والد
کامیت
edfcea7f43
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      apps/emqx_connector/src/emqx_connector_http.erl

+ 4 - 0
apps/emqx_connector/src/emqx_connector_http.erl

@@ -417,6 +417,10 @@ do_get_status(PoolName, Timeout) ->
             end
     catch
         exit:timeout ->
+            ?SLOG(error, #{
+                msg => "http_connector_pmap_failed",
+                reason => timeout
+            }),
             {error, timeout}
     end.