提交 9d0e4a94 编写于 作者: F fjy

alert when task fails in RTR assign

上级 db695f49
......@@ -472,7 +472,9 @@ public class RemoteTaskRunner implements TaskRunner, TaskLogProvider
}
}
catch (Exception e) {
throw Throwables.propagate(e);
log.makeAlert("Exception while trying to run task")
.addData("taskId", taskRunnerWorkItem.getTask().getId())
.emit();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册