summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-11 13:43:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-11 13:44:26 +0100
commit0c0b236b4c72d30e0e88f5f0310476569d444e83 (patch)
tree81c00089eda7c643aa89fd863a7a24064fbb7e90 /bitbake
parentaa7a09569ab7d963efb76d829b46ab0f7e4c59aa (diff)
downloadpoky-0c0b236b4c72d30e0e88f5f0310476569d444e83.tar.gz
bitbake: process: Show command exceptions in the server log as well
There are autobuilder logs where the server commands are failing but we have no debug info in the server log. Improve this to try and understand what is failing. (Bitbake rev: 04d3a79226c9ea448b22f4efbab33876a72c9bdb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/server/process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index c7cb34f0cc..b27b4aefe0 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -217,6 +217,7 @@ class ProcessServer():
217 self.command_channel_reply.send(self.cooker.command.runCommand(command)) 217 self.command_channel_reply.send(self.cooker.command.runCommand(command))
218 serverlog("Command Completed") 218 serverlog("Command Completed")
219 except Exception as e: 219 except Exception as e:
220 serverlog('Exception in server main event loop running command %s (%s)' % (command, str(e)))
220 logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e))) 221 logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e)))
221 222
222 if self.xmlrpc in ready: 223 if self.xmlrpc in ready: