Skip to content

Commit

Permalink
Show MessageException in invocation UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 30, 2023
1 parent 98da565 commit bce7bdd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ${
Expand Down

0 comments on commit bce7bdd

Please sign in to comment.