diff --git a/RobotFramework_TestsuitesManagement/Config/CConfig.py b/RobotFramework_TestsuitesManagement/Config/CConfig.py index 822e68e4..965505fb 100644 --- a/RobotFramework_TestsuitesManagement/Config/CConfig.py +++ b/RobotFramework_TestsuitesManagement/Config/CConfig.py @@ -909,7 +909,7 @@ def versioncontrol_error(self, reason, version1, version2): f"\n{detail}\n" f"\nPlease install the required {BUNDLE_NAME} version." + f"\nYou can find an installer here: {INSTALLER_LOCATION}\n", "ERROR") - BuiltIn().unknown('Version control error!!!') + raise Exception('Version control error!!!') if __name__ == "__main__": bundle_version() diff --git a/RobotFramework_TestsuitesManagement/Keywords/CSetup.py b/RobotFramework_TestsuitesManagement/Keywords/CSetup.py index 43e7d00f..85ca13dc 100644 --- a/RobotFramework_TestsuitesManagement/Keywords/CSetup.py +++ b/RobotFramework_TestsuitesManagement/Keywords/CSetup.py @@ -82,7 +82,7 @@ def testsuite_setup(self, sTestsuiteCfgFile=''): for infoMsg in TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['info']: if infoMsg.strip() != '': logger.error(infoMsg) - BuiltIn().unknown(TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['unknown']) + raise Exception(TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['unknown']) if not TM.CTestsuitesCfg.oConfig.bLoadedCfg: if len(TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['error']) > 0: @@ -93,7 +93,7 @@ def testsuite_setup(self, sTestsuiteCfgFile=''): for infoMsg in TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['info']: if infoMsg.strip() != '': logger.error(infoMsg) - BuiltIn().unknown(TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['unknown']) + raise Exception(TM.CTestsuitesCfg.oConfig.sLoadedCfgLog['unknown']) return msg = f"Running with configuration level {TM.CTestsuitesCfg.oConfig.configLevel.value}" if TM.CTestsuitesCfg.oConfig.configLevel==TM.CConfigLevel.LEVEL_4: