Skip to content
Snippets Groups Projects
Commit c14a050d authored by martinRenou's avatar martinRenou
Browse files

Use sys.stderr for printing error

parent 3a1499a2
No related branches found
No related tags found
1 merge request!27Add file version handling for workflow file.
......@@ -19,10 +19,10 @@ class CoreMCODriver(BaseCoreDriver):
try:
workflow = self.application.workflow
except InvalidVersionException as e:
print(e.message)
print(str(e), file=sys.stderr)
sys.exit(1)
except CorruptedInputFile as e:
print(e.message)
print(str(e), file=sys.stderr)
sys.exit(1)
mco_data = workflow.multi_criteria_optimizer
......
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