未验证 提交 87ed189e 编写于 作者: W wenjun 提交者: GitHub

[Improvement] print exception when task execute (#5159)

上级 f6d62a49
......@@ -887,7 +887,7 @@ public class MasterExecThread implements Runnable {
try {
readyToSubmitTaskQueue.put(taskInstance);
} catch (Exception e) {
logger.error("add task instance to readyToSubmitTaskQueue error");
logger.error("add task instance to readyToSubmitTaskQueue error, taskName: {}", taskInstance.getName(), e);
}
}
......@@ -901,7 +901,7 @@ public class MasterExecThread implements Runnable {
try {
readyToSubmitTaskQueue.remove(taskInstance);
} catch (Exception e) {
logger.error("remove task instance from readyToSubmitTaskQueue error");
logger.error("remove task instance from readyToSubmitTaskQueue error, taskName: {}", taskInstance.getName(), e);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册