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 static String httpGet(String component, String url, String secretId, Stri 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; }