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