Skip to content

Commit

Permalink
Print & log argument errors instead of just logging
Browse files Browse the repository at this point in the history
fixes: QubesOS/qubes-issues#9565
(cherry picked from commit e5ab832)
  • Loading branch information
alimirjamali authored and marmarek committed Dec 8, 2024
1 parent 46f0d26 commit 599402c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vmupdate/vmupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def main(args=None, app=qubesadmin.Qubes()):
try:
targets = get_targets(args, app)
except ArgumentError as err:
print(str(err), file=sys.stderr)
log.error(str(err))
return EXIT.ERR_USAGE

Expand Down

0 comments on commit 599402c

Please sign in to comment.