diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java index 262b10a25c4dee..b8e7ef078ad5a1 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java @@ -201,8 +201,8 @@ protected final void execImpl(StmtExecutor executor) throws Exception { coordinator.cancel(new Status(TStatusCode.CANCELLED, "insert timeout")); if (notTimeout) { errMsg = coordinator.getExecStatus().getErrorMsg(); - ErrorReport.reportDdlException("there exists unhealthy backend. " - + errMsg, ErrorCode.ERR_FAILED_WHEN_INSERT); + ErrorReport.reportDdlException("%s", ErrorCode.ERR_FAILED_WHEN_INSERT, + "there exists unhealthy backend. " + errMsg); } else { ErrorReport.reportDdlException(ErrorCode.ERR_EXECUTE_TIMEOUT); }