This is an automated email from the ASF dual-hosted git repository.

peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c186f9a3b fix cancelled task still executed (#5074)
0c186f9a3b is described below

commit 0c186f9a3be5a588cfb07371b31883102a759880
Author: LiuGuoHua <[email protected]>
AuthorDate: Thu Feb 22 18:08:20 2024 +0800

    fix cancelled task still executed (#5074)
---
 .../org/apache/linkis/entrance/persistence/QueryPersistenceManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/persistence/QueryPersistenceManager.java
 
b/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/persistence/QueryPersistenceManager.java
index 44966fc1f1..f051b058f1 100644
--- 
a/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/persistence/QueryPersistenceManager.java
+++ 
b/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/persistence/QueryPersistenceManager.java
@@ -190,7 +190,7 @@ public class QueryPersistenceManager extends 
PersistenceManager {
       createPersistenceEngine().updateIfNeeded(jobRequest);
     } catch (ErrorException e) {
       entranceContext.getOrCreateLogManager().onLogUpdate(job, e.getMessage());
-      logger.error("update job status failed, reason: ", e);
+      throw e;
     }
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to