diff options
Diffstat (limited to 'src/onaptests/scenario/basic_vm.py')
-rw-r--r-- | src/onaptests/scenario/basic_vm.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/onaptests/scenario/basic_vm.py b/src/onaptests/scenario/basic_vm.py index b758088..3ad6392 100644 --- a/src/onaptests/scenario/basic_vm.py +++ b/src/onaptests/scenario/basic_vm.py @@ -43,9 +43,12 @@ class BasicVm(testcase.TestCase): else: self.__logger.info("No cleanup requested. Test completed.") self.result = 100 - except (OnapTestException, SDKException) as exc: + except OnapTestException as exc: self.result = 0 self.__logger.error(exc.error_message) + except SDKException: + self.result = 0 + self.__logger.error("SDK Exception") finally: self.stop_time = time.time() |