mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #7425 from ghjm/no_traceback_on_keyboardinterrupt
Don't traceback on KeyboardInterrupt
Reviewed-by: awxbot
https://github.com/awxbot
This commit is contained in:
commit
f4514873cd
@ -23,6 +23,8 @@ def run(stdout=sys.stdout, stderr=sys.stderr, argv=[]):
|
||||
cli.parse_args(argv or sys.argv)
|
||||
cli.connect()
|
||||
cli.parse_resource()
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(1)
|
||||
except ConnectionError as e:
|
||||
cli.parser.print_help()
|
||||
msg = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user