Skip to content

Commit

Permalink
Clarified some error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
richardclegg committed Jul 20, 2023
1 parent bb397c0 commit 49c8c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feta/operations/Star.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void pickCentreNode(Network net, MixedModel obm) throws Exception {
availableNodes = net.getNodeListCopy();
}
if (availableNodes == null) {
throw new Exception("Impossible operation request: Centre node of type "+centreType_+"Not found. Skipping to next operation.");
throw new Exception("Impossible operation request: Centre node of type "+centreType_+" not found. Resubmitting operation.");
}
centreNode_ = obm.nodeDrawWithoutReplacement(net, availableNodes, -1);
centreNodeName_=net.nodeNoToName(centreNode_);
Expand Down

0 comments on commit 49c8c3e

Please sign in to comment.