update log formatting
This commit is contained in:
parent
702c908ae8
commit
162ea5d969
|
@ -252,6 +252,7 @@ class Orchestrator {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const start = performance.now()
|
||||||
for (let step of automation.definition.steps) {
|
for (let step of automation.definition.steps) {
|
||||||
if (timeoutFlag) {
|
if (timeoutFlag) {
|
||||||
break
|
break
|
||||||
|
@ -473,6 +474,14 @@ class Orchestrator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const end = performance.now()
|
||||||
|
const executionTime = end - start
|
||||||
|
|
||||||
|
console.info(`Execution time: ${executionTime} milliseconds`, {
|
||||||
|
_logKey: "automation",
|
||||||
|
executionTime,
|
||||||
|
})
|
||||||
|
|
||||||
// store the logs for the automation run
|
// store the logs for the automation run
|
||||||
try {
|
try {
|
||||||
await storeLog(this._automation, this.executionOutput)
|
await storeLog(this._automation, this.executionOutput)
|
||||||
|
|
Loading…
Reference in New Issue