aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/ns_vnfs/biz/heal_vnfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/ns_vnfs/biz/heal_vnfs.py')
-rw-r--r--lcm/ns_vnfs/biz/heal_vnfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns_vnfs/biz/heal_vnfs.py b/lcm/ns_vnfs/biz/heal_vnfs.py
index fa3702fa..9f730d75 100644
--- a/lcm/ns_vnfs/biz/heal_vnfs.py
+++ b/lcm/ns_vnfs/biz/heal_vnfs.py
@@ -54,7 +54,7 @@ class NFHealService(threading.Thread):
self.update_nf_status(VNF_STATUS.ACTIVE)
JobUtil.add_job_status(self.job_id, JOB_PROGRESS.FINISHED, 'vnf heal success')
except NSLCMException as e:
- JobUtil.add_job_status(self.job_id, JOB_PROGRESS.ERROR, e.message)
+ JobUtil.add_job_status(self.job_id, JOB_PROGRESS.ERROR, e.args[0])
except:
logger.error(traceback.format_exc())
JobUtil.add_job_status(self.job_id, JOB_PROGRESS.ERROR, 'vnf heal fail')