mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Preserve stacktrace when reraising in vbox instance up()
This commit is contained in:
parent
b4cd905977
commit
f0402d6a9b
1 changed files with 4 additions and 4 deletions
|
@ -92,12 +92,12 @@ class VirtualBoxInstance(Instance):
|
|||
self.create()
|
||||
try:
|
||||
self.boot()
|
||||
except (Exception, KeyboardInterrupt) as e:
|
||||
except (Exception, KeyboardInterrupt):
|
||||
self.shutdown()
|
||||
raise e
|
||||
except (Exception, KeyboardInterrupt) as e:
|
||||
raise
|
||||
except (Exception, KeyboardInterrupt):
|
||||
self.destroy()
|
||||
raise e
|
||||
raise
|
||||
|
||||
def down(self):
|
||||
self.shutdown()
|
||||
|
|
Loading…
Add table
Reference in a new issue