Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sonjaer committed Jun 14, 2024
1 parent c58d748 commit 3e0e2c7
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 3e0e2c7

Please sign in to comment.