Skip to content

Commit

Permalink
Merge pull request galaxyproject#16772 from mvdbeek/message_exception…
Browse files Browse the repository at this point in the history
…_in_ui

[23.0] Show MessageException in invocation UI
  • Loading branch information
mvdbeek authored Sep 30, 2023
2 parents 1888eb7 + bce7bdd commit ea2be33
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 ea2be33

Please sign in to comment.