Commit bdc0e748 authored by Samuel GAIST's avatar Samuel GAIST Committed by André Anjos
Browse files

[experiment] Log algorithm errors if any on load

parent f3d33cfa
...@@ -380,8 +380,8 @@ class Experiment(object): ...@@ -380,8 +380,8 @@ class Experiment(object):
self.algorithms[algoname] = thisalgo self.algorithms[algoname] = thisalgo
if thisalgo.errors: if thisalgo.errors:
self.errors.append("/analyzers/%s: algorithm `%s' is invalid" % \ self.errors.append("/analyzers/%s: algorithm `%s' is invalid:\n%s" % \
(analyzername, algoname)) (analyzername, algoname, "\n".join(thisalgo.errors)))
continue continue
else: else:
......
Markdown is supported
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