update log formatting
This commit is contained in:
parent
702c908ae8
commit
162ea5d969
|
@ -252,6 +252,7 @@ class Orchestrator {
|
|||
return
|
||||
}
|
||||
}
|
||||
const start = performance.now()
|
||||
for (let step of automation.definition.steps) {
|
||||
if (timeoutFlag) {
|
||||
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
|
||||
try {
|
||||
await storeLog(this._automation, this.executionOutput)
|
||||
|
|
Loading…
Reference in New Issue