Code Review
/
vfc
/
nfvo
/
lcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
370d616
)
Fix pep8 error of ns manual scale
67/28467/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Thu, 18 Jan 2018 01:54:48 +0000
(09:54 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Thu, 18 Jan 2018 01:54:48 +0000
(09:54 +0800)
Change-Id: Ib4fab523777c1cc48b95090ef27127ace0e2b162
Issue-ID: VFC-654
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/ns/ns_manual_scale.py
patch
|
blob
|
history
diff --git
a/lcm/ns/ns_manual_scale.py
b/lcm/ns/ns_manual_scale.py
index
4fcfbbe
..
b256e61
100644
(file)
--- a/
lcm/ns/ns_manual_scale.py
+++ b/
lcm/ns/ns_manual_scale.py
@@
-45,7
+45,8
@@
class NSManualScaleService(threading.Thread):
self.do_biz()
except NSLCMException as e:
JobUtil.add_job_status(self.job_id, JOB_ERROR, e.message)
- except:
+ except Exception as ex:
+ logger.error(ex.message)
logger.error(traceback.format_exc())
JobUtil.add_job_status(self.job_id, JOB_ERROR, 'ns scale fail')
finally: