Skip to content

Commit

Permalink
Removed unknown state for robfw core
Browse files Browse the repository at this point in the history
  • Loading branch information
namsonx committed Nov 1, 2024
1 parent 9cfac8b commit 70184a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RobotFramework_TestsuitesManagement/Config/CConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
4 changes: 2 additions & 2 deletions RobotFramework_TestsuitesManagement/Keywords/CSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 70184a8

Please sign in to comment.