From 0c0b236b4c72d30e0e88f5f0310476569d444e83 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 11 Oct 2020 13:43:17 +0100 Subject: 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 --- bitbake/lib/bb/server/process.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake') 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(): self.command_channel_reply.send(self.cooker.command.runCommand(command)) serverlog("Command Completed") except Exception as e: + serverlog('Exception in server main event loop running command %s (%s)' % (command, str(e))) logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e))) if self.xmlrpc in ready: -- cgit v1.2.3-54-g00ecf