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:04 +0100 |
commit | 17f28f09452f70dfb67fce9a397a99deec84dfe5 (patch) | |
tree | 14849df8126f43858bcf4d2650b6074d38587e76 /lib/bb/ui/crumbs/hobeventhandler.py | |
parent | 5a8e3baa66f845599a616f080a7efce81ecda631 (diff) | |
download | bitbake-17f28f09452f70dfb67fce9a397a99deec84dfe5.tar.gz |
hob/hobeventhandler: Describe the runCommand failure exception
[YOCTO #1245]
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | lib/bb/ui/crumbs/hobeventhandler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/hobeventhandler.py b/lib/bb/ui/crumbs/hobeventhandler.py index 2ce5b66e7..5d038f45c 100644 --- a/lib/bb/ui/crumbs/hobeventhandler.py +++ b/lib/bb/ui/crumbs/hobeventhandler.py @@ -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 = [] |