Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] qemurunner: Drop error to a warning to improve user feedback
@ 2015-09-07 14:36 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-09-07 14:36 UTC (permalink / raw)
  To: openembedded-core

If a task shows an error, the full log is surpressed since bitbake assumes
the user has been shown what is wrong. In this code path that isn't the
case and its much more helpful to show the user the full error. Therefore
show a warning instead to aid usability.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 838623f..c3b5c9f 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -362,7 +362,7 @@ class QemuRunner:
 
     def _dump_host(self):
         self.host_dumper.create_dir("qemu")
-        logger.error("Qemu ended unexpectedly, dump data from host"
+        logger.warn("Qemu ended unexpectedly, dump data from host"
                 " is in %s" % self.host_dumper.dump_dir)
         self.host_dumper.dump_host()
 




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-07 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-07 14:36 [PATCH] qemurunner: Drop error to a warning to improve user feedback Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox