Correcting exception handling in glance-manage
Fixes bug 884432 Change-Id: I76c0a97e502dd05b4c56c84fa640d1f0e0cd48ae
This commit is contained in:
parent
1ccc0e2f13
commit
45c7280783
@ -110,7 +110,7 @@ def dispatch_cmd(options, args):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
cmd_func(options, args)
|
cmd_func(options, args)
|
||||||
except exception.Error, e:
|
except exception.GlanceException, e:
|
||||||
sys.exit("ERROR: %s" % e)
|
sys.exit("ERROR: %s" % e)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user