summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/ui/crumbs/hobeventhandler.py4
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 = []