diff options
-rw-r--r-- | lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 8699765a3..c972fe567 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -368,7 +368,7 @@ class ServerCommunicator(): ret, exc = self.recv.get() # Should probably turn all exceptions in exc back into exceptions? # For now, at least handle BBHandledException - if exc and "BBHandledException" in exc: + if exc and ("BBHandledException" in exc or "SystemExit" in exc): raise bb.BBHandledException() return ret, exc |