summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/server/xmlrpc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
index 4205a4c35f..afe3dfe5df 100644
--- a/bitbake/lib/bb/server/xmlrpc.py
+++ b/bitbake/lib/bb/server/xmlrpc.py
@@ -299,6 +299,8 @@ class BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection):
299 299
300 _, error = self.connection.runCommand(["setFeatures", self.featureset]) 300 _, error = self.connection.runCommand(["setFeatures", self.featureset])
301 if error: 301 if error:
302 # disconnect the client, we can't make the setFeature work
303 self.connection.removeClient()
302 # no need to log it here, the error shall be sent to the client 304 # no need to log it here, the error shall be sent to the client
303 raise BaseException(error) 305 raise BaseException(error)
304 306