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:
a3a6b39
)
Fix pep8 error for vfc-nfvo-lcm
07/27607/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Mon, 8 Jan 2018 06:29:00 +0000
(14:29 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Mon, 8 Jan 2018 06:29:00 +0000
(14:29 +0800)
Change-Id: I31fd4f1c6b94c2b38356de4a824550892dd8193a
Issue-ID: VFC-610
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/ns/vnfs/scale_vnfs.py
patch
|
blob
|
history
diff --git
a/lcm/ns/vnfs/scale_vnfs.py
b/lcm/ns/vnfs/scale_vnfs.py
index
61d84cf
..
fe6c101
100644
(file)
--- a/
lcm/ns/vnfs/scale_vnfs.py
+++ b/
lcm/ns/vnfs/scale_vnfs.py
@@
-46,7
+46,8
@@
class NFManualScaleService(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, 'nf scale fail')
finally: