This is an automated email from the ASF dual-hosted git repository. dockerzhang 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 e46e411638 [INLONG-9876][Manager] optimize the format of error message (#9877) e46e411638 is described below commit e46e41163817ba80cba95fbe87cf1fc3bbc9a9cb Author: AloysZhang <aloyszh...@apache.org> AuthorDate: Thu Mar 28 18:28:15 2024 +0800 [INLONG-9876][Manager] optimize the format of error message (#9877) --- .../java/org/apache/inlong/manager/client/api/util/ClientUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/util/ClientUtils.java b/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/util/ClientUtils.java index df4fdeb4e4..fb04f82ac5 100644 --- a/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/util/ClientUtils.java +++ b/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/util/ClientUtils.java @@ -118,6 +118,6 @@ public class ClientUtils { * @param response response */ public static void assertRespSuccess(Response<?> response) { - Preconditions.expectTrue(response.isSuccess(), String.format(REQUEST_FAILED_MSG, response.getErrMsg(), null)); + Preconditions.expectTrue(response.isSuccess(), String.format(REQUEST_FAILED_MSG, "", response.getErrMsg())); } }