From 8095c4a2643485bc5c6b678734dcfc20854019e0 Mon Sep 17 00:00:00 2001 From: Omar Ajoue Date: Fri, 12 Mar 2021 11:35:23 +0100 Subject: [PATCH] :zap: Add debug information for pending workflows on exit (#1536) --- packages/cli/commands/start.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cli/commands/start.ts b/packages/cli/commands/start.ts index 112e751df..36cd9c454 100644 --- a/packages/cli/commands/start.ts +++ b/packages/cli/commands/start.ts @@ -103,6 +103,9 @@ export class Start extends Command { while (executingWorkflows.length !== 0) { if (count++ % 4 === 0) { console.log(`Waiting for ${executingWorkflows.length} active executions to finish...`); + executingWorkflows.map(execution => { + console.log(` - Execution ID ${execution.id}, workflow ID: ${execution.workflowId}`); + }); } await new Promise((resolve) => { setTimeout(resolve, 500);