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
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment