From edfcea7f4319dcaf348cfaa4e01ea01a560207e3 Mon Sep 17 00:00:00 2001 From: Stefan Strigler Date: Fri, 13 Jan 2023 14:45:44 +0100 Subject: [PATCH] fix: add log for timeout --- apps/emqx_connector/src/emqx_connector_http.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/emqx_connector/src/emqx_connector_http.erl b/apps/emqx_connector/src/emqx_connector_http.erl index 7f684a858..d68f624e4 100644 --- a/apps/emqx_connector/src/emqx_connector_http.erl +++ b/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.