From: Richard Purdie Date: Mon, 7 Sep 2015 14:36:49 +0000 (+0100) Subject: qemurunner: Drop error to a warning to improve user feedback X-Git-Tag: 2015-10~523 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4ccef5543649262a1630bff586ef9048fe164016;p=openembedded-core.git qemurunner: Drop error to a warning to improve user feedback 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 --- diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 2d485379e8..a137b11f40 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -361,7 +361,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()