Skip to content
Snippets Groups Projects
Commit 6e9432ad authored by Samuel GAIST's avatar Samuel GAIST Committed by André Anjos
Browse files

[experiment] Log algorithm errors if any on load

parent 20acc2cd
No related branches found
No related tags found
1 merge request!40Algorithm cxx v2 (replaces !37)
......@@ -380,8 +380,8 @@ class Experiment(object):
self.algorithms[algoname] = thisalgo
if thisalgo.errors:
self.errors.append("/analyzers/%s: algorithm `%s' is invalid" % \
(analyzername, algoname))
self.errors.append("/analyzers/%s: algorithm `%s' is invalid:\n%s" % \
(analyzername, algoname, "\n".join(thisalgo.errors)))
continue
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment