This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 6a6f3c153c7 branch-3.0: [Opt](AgentTask) Fix `failedWithMsg` #50686
(#50902)
6a6f3c153c7 is described below
commit 6a6f3c153c779d2a89aa89a83840fa4c2e3ad64b
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed May 14 20:57:40 2025 +0800
branch-3.0: [Opt](AgentTask) Fix `failedWithMsg` #50686 (#50902)
Cherry-picked from #50686
Co-authored-by: bobhan1 <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/task/AgentTask.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/task/AgentTask.java
b/fe/fe-core/src/main/java/org/apache/doris/task/AgentTask.java
index 1294b408754..f29ab3ef2b4 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/task/AgentTask.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/task/AgentTask.java
@@ -114,6 +114,7 @@ public abstract class AgentTask {
public void failedWithMsg(String errMsg) {
failed();
+ setErrorMsg(errMsg);
}
public int getFailedTimes() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]