diff options
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 4d3d1a4308..8699765a31 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -365,7 +365,12 @@ class ServerCommunicator(): | |||
365 | logger.info("No reply from server in 30s") | 365 | logger.info("No reply from server in 30s") |
366 | if not self.recv.poll(30): | 366 | if not self.recv.poll(30): |
367 | raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)") | 367 | raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)") |
368 | return self.recv.get() | 368 | ret, exc = self.recv.get() |
369 | # Should probably turn all exceptions in exc back into exceptions? | ||
370 | # For now, at least handle BBHandledException | ||
371 | if exc and "BBHandledException" in exc: | ||
372 | raise bb.BBHandledException() | ||
373 | return ret, exc | ||
369 | 374 | ||
370 | def updateFeatureSet(self, featureset): | 375 | def updateFeatureSet(self, featureset): |
371 | _, error = self.runCommand(["setFeatures", featureset]) | 376 | _, error = self.runCommand(["setFeatures", featureset]) |