This commit is contained in:
xiaojunnuo
2024-10-31 10:32:05 +08:00
parent f92935d93f
commit ee65c9f47d
10 changed files with 140 additions and 49 deletions
@@ -117,7 +117,8 @@ export class RunHistory {
}
logError(runnable: Runnable, e: Error) {
// @ts-ignore
delete e.stack;
delete e.cause;
const errorInfo = runnable.runnableType === "step" ? e : e.message;
this._loggers[runnable.id].error(`[${runnable.runnableType}] [${runnable.title}]<id:${runnable.id}> `, errorInfo);
}