Skip to content

Commit

Permalink
[traffic] Improve an error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
minhduc0711 committed Nov 26, 2021
1 parent 670addd commit 475d5e6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1266,7 +1266,7 @@ public IPath primComputePath(final IScope scope) throws GamaRuntimeException {
}
path = PathFactory.newInstance(graph, source, target, edges);
} else {
throw GamaRuntimeException.error("either `nodes` or `target` must be specified", scope);
throw GamaRuntimeException.error("one of `nodes` or `target` must be non nil", scope);
}

// restore graph direction
Expand Down

0 comments on commit 475d5e6

Please sign in to comment.