diff --git a/force_bdss/core_evaluation_driver.py b/force_bdss/core_evaluation_driver.py index 81291253edc09de89abbca4f9efc21680999e802..e10851c20d8849c78073c0ca642ce4d0c3a5aaf1 100644 --- a/force_bdss/core_evaluation_driver.py +++ b/force_bdss/core_evaluation_driver.py @@ -5,10 +5,6 @@ from traits.api import on_trait_change from force_bdss.ids import InternalPluginID from .base_core_driver import BaseCoreDriver -from .io.workflow_reader import ( - InvalidVersionException, - InvalidFileException -) log = logging.getLogger(__name__) @@ -24,8 +20,8 @@ class CoreEvaluationDriver(BaseCoreDriver): def application_started(self): try: workflow = self.workflow - except (InvalidVersionException, InvalidFileException) as e: - log.exception(e) + except Exception: + log.exception("Unable to open workflow file.") sys.exit(1) mco_model = workflow.mco