qvm-ls hide stacktrace if qubes.xml is missing
This commit is contained in:
parent
c614f101f4
commit
c5307f3f47
@ -604,7 +604,11 @@ def main(args=None):
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
parser = get_parser()
|
parser = get_parser()
|
||||||
args = parser.parse_args(args)
|
try:
|
||||||
|
args = parser.parse_args(args)
|
||||||
|
except qubes.exc.QubesException as e:
|
||||||
|
parser.print_error(e.message)
|
||||||
|
return 1
|
||||||
|
|
||||||
if args.fields:
|
if args.fields:
|
||||||
columns = [col.strip() for col in args.fields.split(',')]
|
columns = [col.strip() for col in args.fields.split(',')]
|
||||||
|
Loading…
Reference in New Issue
Block a user