We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cea73f commit 41066b8Copy full SHA for 41066b8
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
@@ -1004,6 +1004,22 @@ export function useWorkflowExecution() {
1004
},
1005
logs: [],
1006
}
1007
+
1008
+ // Add error to console
1009
+ addConsole({
1010
+ input: {},
1011
+ output: {},
1012
+ success: false,
1013
+ error: data.error,
1014
+ durationMs: data.duration || 0,
1015
+ startedAt: new Date(Date.now() - (data.duration || 0)).toISOString(),
1016
+ endedAt: new Date().toISOString(),
1017
+ workflowId: activeWorkflowId,
1018
+ blockId: 'workflow',
1019
+ executionId: executionId || uuidv4(),
1020
+ blockName: 'Workflow Execution',
1021
+ blockType: 'workflow',
1022
+ })
1023
1024
1025
})
0 commit comments