diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2012-10-05 15:31:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-08 16:23:33 +0100 |
commit | 8d019a77d7c6ded1cff66094bfb9effa38c75c98 (patch) | |
tree | a22ffc01123d13aecdc2f2084dba4940cb61442a /bitbake/lib | |
parent | a08139b7acdc528f9f7a20e49402144c89b8eb2b (diff) | |
download | poky-8d019a77d7c6ded1cff66094bfb9effa38c75c98.tar.gz |
bitbake: hob/hobeventhandler: Describe the runCommand failure exception
[YOCTO #1245]
(Bitbake rev: 17f28f09452f70dfb67fce9a397a99deec84dfe5)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 2ce5b66e72..5d038f45ca 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -105,7 +105,9 @@ class HobHandler(gobject.GObject): | |||
105 | result_str = str(result) | 105 | result_str = str(result) |
106 | if (result_str.startswith("Busy (") or | 106 | if (result_str.startswith("Busy (") or |
107 | result_str == "No such command"): | 107 | result_str == "No such command"): |
108 | raise Exception(result_str) | 108 | raise Exception('%s has failed with output "%s". ' % |
109 | (str(commandline), result_str) + | ||
110 | "We recommend that you restart Hob.") | ||
109 | return result | 111 | return result |
110 | except Exception as e: | 112 | except Exception as e: |
111 | self.commands_async = [] | 113 | self.commands_async = [] |