mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
Don't show startup error for SystemExit (used by --help).
This commit is contained in:
parent
1bd9c50942
commit
02fc09e0a8
@ -374,6 +374,8 @@ if __name__ == "__main__":
|
||||
main()
|
||||
except KeyboardInterrupt:
|
||||
logging.debug("Received KeyboardInterrupt. Exiting application.")
|
||||
except SystemExit:
|
||||
raise
|
||||
except Exception, run_e:
|
||||
logging.exception(run_e)
|
||||
_show_startup_error(str(run_e), "".join(traceback.format_exc()))
|
||||
|
Loading…
Reference in New Issue
Block a user