Commit 3090adeb authored by Philip ABBET's avatar Philip ABBET

More detailed error message when the toolchain used by an experiment is invalid

parent 7c3b36f9
......@@ -439,8 +439,8 @@ class Experiment(object):
if self.toolchain.errors:
if self.storage is not None:
self.errors.append("toolchain `%s' is not valid" % \
self.storage.toolchain)
self.errors.append("toolchain `%s' is not valid, because:\n * %s" % \
(self.storage.toolchain, '\n * '.join(self.toolchain.errors)))
else:
self.errors.append("toolchain data is not valid, because:\n * %s" \
% '\n * '.join(self.toolchain.errors))
......
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