fix: Log on error by default in async workflow executions (#8723)

This commit is contained in:
Stevche Radevski
2024-08-22 13:33:11 +02:00
committed by GitHub
parent 4c43122358
commit 9ba52021d0
2 changed files with 4 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ export class InMemoryDistributedTransactionStorage
const inter = setTimeout(async () => {
await this.workflowOrchestratorService_.run(workflowId, {
transactionId,
logOnError: true,
throwOnError: false,
})
}, interval * 1e3)
@@ -322,6 +323,7 @@ export class InMemoryDistributedTransactionStorage
try {
// With running the job after setting a new timer we basically allow for concurrent runs, unless we add idempotency keys once they are supported.
await this.workflowOrchestratorService_.run(jobId, {
logOnError: true,
throwOnError: false,
})
} catch (e) {