This is an automated email from the ASF dual-hosted git repository. doleyzi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push: new 28c3c6ba88 [INLONG-11489][Audit] Use Throwable instead of Exception to capture Java package conflicts (#11490) 28c3c6ba88 is described below commit 28c3c6ba88725d495ce58af7e2c4677d04ee70d9 Author: doleyzi <43397300+dole...@users.noreply.github.com> AuthorDate: Tue Nov 12 20:45:32 2024 +0800 [INLONG-11489][Audit] Use Throwable instead of Exception to capture Java package conflicts (#11490) --- .../src/main/java/org/apache/inlong/audit/utils/HttpUtils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/utils/HttpUtils.java b/inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/utils/HttpUtils.java index 34c60dc66b..694674dbf8 100644 --- a/inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/utils/HttpUtils.java +++ b/inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/utils/HttpUtils.java @@ -98,8 +98,9 @@ public class HttpUtils { return responseStr; } } - } catch (Exception e) { - LOGGER.error("Send get request has exception", e); + } catch (Throwable e) { + LOGGER.error("Http request url = {}, secretId = {}, secretKey = {}, component = {} has exception!", url, + secretId, secretKey, component, e); } return null; }