summaryrefslogtreecommitdiffstats
path: root/testcases/vIMS/CI/orchestrator.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/vIMS/CI/orchestrator.py')
-rw-r--r--testcases/vIMS/CI/orchestrator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/vIMS/CI/orchestrator.py b/testcases/vIMS/CI/orchestrator.py
index 591f14204..77595c735 100644
--- a/testcases/vIMS/CI/orchestrator.py
+++ b/testcases/vIMS/CI/orchestrator.py
@@ -156,7 +156,8 @@ class orchestrator:
try:
execute_command(cmd, self.logger)
except:
- logger.error("Clearwater undeployment failed")
+ if self.logger:
+ self.logger.error("Clearwater undeployment failed")
def execute_command(cmd, logger):