summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 52acec1028..21bea236c4 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -102,7 +102,10 @@ class HobHandler(gobject.GObject):
102 102
103 def runCommand(self, commandline): 103 def runCommand(self, commandline):
104 try: 104 try:
105 return self.server.runCommand(commandline) 105 result, error = self.server.runCommand(commandline)
106 if error:
107 raise Exception("Error running command '%s': %s" % (commandline, error))
108 return result
106 except Exception as e: 109 except Exception as e:
107 self.commands_async = [] 110 self.commands_async = []
108 self.clear_busy() 111 self.clear_busy()