mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
catch keyboard interrupt
This commit is contained in:
parent
1565514018
commit
3bf64a6e80
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def run(args):
|
|||
|
||||
try:
|
||||
tasklist.run(bootstrap_info)
|
||||
except Exception as e:
|
||||
except (Exception, KeyboardInterrupt) as e:
|
||||
log.exception(e)
|
||||
log.error('Rolling back')
|
||||
rollback_tasklist = TaskList()
|
||||
|
|
Loading…
Add table
Reference in a new issue