1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

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.

(From OE-Core rev: 4ccef5543649262a1630bff586ef9048fe164016)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2015-09-07 15:36:49 +01:00
parent fa2f7f9964
commit e3b5d8f42c
+1 -1
View File
@@ -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()