From bce7bddcf67d6d37f5029ca7c3281fc523ed4a51 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sat, 30 Sep 2023 11:59:55 +0200 Subject: [PATCH] Show MessageException in invocation UI --- .../components/WorkflowInvocationState/InvocationMessage.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/components/WorkflowInvocationState/InvocationMessage.vue b/client/src/components/WorkflowInvocationState/InvocationMessage.vue index 3d3efe121ca9..a21fbd910f83 100644 --- a/client/src/components/WorkflowInvocationState/InvocationMessage.vue +++ b/client/src/components/WorkflowInvocationState/InvocationMessage.vue @@ -146,6 +146,9 @@ const infoString = computed(() => { invocationMessage.workflow_step_id + 1 } is a conditional step and the result of the when expression is not a boolean type.`; } else if (reason === "unexpected_failure") { + if (invocationMessage.details) { + return `${failFragment} an unexpected failure occurred: '${invocationMessage.details}'`; + } return `${failFragment} an unexpected failure occurred.`; } else if (reason === "workflow_output_not_found") { return `Defined workflow output '${invocationMessage.output_name}' was not found in step ${