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-10 15:24:13 +0100 |
commit | f4434bd16e1e23645e5da1d1b515d63873e06cc7 (patch) | |
tree | e15d1a845796a84613371b0de55daaf313d88871 | |
parent | e83c7d30565645109cfcebf55861613935190e32 (diff) | |
download | poky-f4434bd16e1e23645e5da1d1b515d63873e06cc7.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>
-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 = [] |