diff --git a/harness/machine_types/rgt_test.py b/harness/machine_types/rgt_test.py index 8195043..ade096a 100644 --- a/harness/machine_types/rgt_test.py +++ b/harness/machine_types/rgt_test.py @@ -437,12 +437,9 @@ def read_input_file(self): else: error_message = "Test input file {} not found".format(self.test_input_filename) raise ErrorRgtTestInputFileNotFound(error_message) - except ErrorRgtParameterReconcile as err: + except Exception as err: self.__logger.doCriticalLogging(err.message) - sys.exit(err.message) - except ErrorRgtTestInputFileNotFound as err: - self.__logger.doCriticalLogging(err.message) - sys.exit(err.message) + exit(1) # Private methods