Skip to content

Commit

Permalink
Print & log argument errors instead of just logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alimirjamali committed Nov 9, 2024
1 parent 3f7bf98 commit 7a5a0fa
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))
log.error(str(err))
return EXIT.ERR_USAGE

Expand Down

0 comments on commit 7a5a0fa

Please sign in to comment.