If for example you try "bitbake -m" with an invalid BBSERVER, error
messages are not displayed. This change ensures logging is in place
to catch and display such errors.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
server = servermodule.BitBakeXMLRPCClient(configParams.observe_only)
server.saveConnectionDetails(configParams.remote_server)
- logger.removeHandler(handler)
-
if not configParams.server_only:
# Collect the feature set for the UI
featureset = getattr(ui_module, "featureSet", [])
for k in cleanedvars:
os.environ[k] = cleanedvars[k]
+ logger.removeHandler(handler)
+
try:
return ui_module.main(server_connection.connection, server_connection.events, configParams)
finally: