hob/hobeventhandler: Describe the runCommand failure exception
PATCH 1/1 hob/hobeventhandler: Describe the runCommand failure exception
[YOCTO #1245]
Signed-off-by Constantin Musca <[email protected]>
--- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
bitbake/lib/bb/ui/crumbs/hobeventhandler.py +3 -1
@@ -105,7 +105,9 @@ class HobHandler(gobject.GObject): result_str = str(result) if (result_str.startswith("Busy (") or result_str == "No such command"): - raise Exception(result_str) + raise Exception('%s has failed with output "%s". ' % + (str(commandline), result_str) + + "We recommend that you restart Hob.") return result except Exception as e: self.commands_async = []
Signature · 1 line
1.7.9.5