[Improvement-14146][K8S Task] print complete error logs in task log file (#14147)
This commit is contained in:
parent
1011852ab2
commit
9e0991145e
|
|
@ -48,8 +48,9 @@ public abstract class AbstractK8sTask extends AbstractRemoteTask {
|
|||
setExitStatusCode(response.getExitStatusCode());
|
||||
setAppIds(response.getAppIds());
|
||||
} catch (Exception e) {
|
||||
log.error("k8s task submit failed with error", e);
|
||||
exitStatusCode = -1;
|
||||
throw new TaskException("k8s process failure", e);
|
||||
throw new TaskException("Execute k8s task error", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue