Skip to content
Snippets Groups Projects
Commit a83f9b4d authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[algorithm] Improve error message if algorithm is not valid on export

parent 93083c24
No related branches found
No related tags found
2 merge requests!281.6.x,!27Soft loop
......@@ -912,7 +912,7 @@ class Algorithm(object):
raise RuntimeError("algorithm has no name")
if not self.valid:
raise RuntimeError("algorithm is not valid")
raise RuntimeError("algorithm is not valid:\n%s" % "\n".join(self.errors))
if prefix == self.prefix:
raise RuntimeError("Cannot export algorithm to the same prefix ("
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment