Skip to content

Commit

Permalink
fix error message (#299)
Browse files Browse the repository at this point in the history
Signed-off-by: Sonja Ericsson <[email protected]>
  • Loading branch information
sonjaer authored Jun 14, 2024
1 parent c58d748 commit de6417e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ private Map<String, Literal> execute(
Map<String, Literal> previous = nodeOutputs.put(executionNode.nodeId(), outputs);

if (previous != null) {
throw new IllegalStateException("invariant failed");
throw new IllegalStateException(
String.format(
"invariant failed: node with same %s has already ran", executionNode.nodeId()));
}

executionListener.completed(executionNode, inputs, outputs);
Expand Down

0 comments on commit de6417e

Please sign in to comment.