summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2017-04-06 12:29:30 +0100
committerBen Brown <ben.brown@codethink.co.uk>2017-04-06 14:38:57 +0100
commit0e0bfdaae45c2e0df048f68a68dfeb93518d0ede (patch)
tree08a066037f952687df70fa409ea69a82d3d97a5a
parent461ef38a352a49a75f080e1689f64c8f26ad47af (diff)
downloadybd-benbrown/rpm-exit.tar.gz
Re-raise SystemExit from sandboxbenbrown/rpm-exit
-rw-r--r--ybd/sandbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ybd/sandbox.py b/ybd/sandbox.py
index 1e685a2..a47e319 100644
--- a/ybd/sandbox.py
+++ b/ybd/sandbox.py
@@ -58,8 +58,8 @@ def setup(dn):
try:
yield
- except app.RetryException as e:
- raise e
+ except (app.RetryException, SystemExit):
+ raise
except:
import traceback
app.log(dn, 'ERROR: surprise exception in sandbox', '')