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 3a68096c3 Add the reason for non thrown kill exceptions (#4734)
3a68096c3 is described below

commit 3a68096c39e7c05aa40d1501600c8533532a0c8e
Author: ahaoyao <[email protected]>
AuthorDate: Tue Jul 4 15:09:51 2023 +0800

    Add the reason for non thrown kill exceptions (#4734)
---
 .../java/org/apache/linkis/entrance/restful/EntranceRestfulApi.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/restful/EntranceRestfulApi.java
 
b/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/restful/EntranceRestfulApi.java
index 87ac92f6b..e543f7f0b 100644
--- 
a/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/restful/EntranceRestfulApi.java
+++ 
b/linkis-computation-governance/linkis-entrance/src/main/java/org/apache/linkis/entrance/restful/EntranceRestfulApi.java
@@ -678,7 +678,9 @@ public class EntranceRestfulApi implements 
EntranceRestfulRemote {
         logger.error("kill job {} failed ", job.get().getId(), t);
         message =
             Message.error(
-                "An exception occurred while killing the job, kill failed(kill 
job的时候出现了异常,kill失败)");
+                "An exception occurred while killing the job, kill failed(kill 
job的时候出现了异常,kill失败)"
+                    + "message: "
+                    + t.getMessage());
         message.setMethod("/api/entrance/" + id + "/kill");
         message.setStatus(1);
       }


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

Reply via email to