mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-05 05:04:47 +02:00
steps/observer: Mention which log contains an error/warning
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0bb3b30fbe
commit
20f4bbc93f
|
@ -33,10 +33,10 @@ class RunConfigLogObserver(ShellCommand):
|
|||
stream, line = yield
|
||||
if line.startswith("WARNING:"):
|
||||
self.warnings += 1
|
||||
self.warningLines.append(line)
|
||||
self.warningLines.append(stream + ": " + line)
|
||||
if line.startswith("ERROR:"):
|
||||
self.errors += 1
|
||||
self.errorLines.append(line)
|
||||
self.errorLines.append(stream + ": " + line)
|
||||
|
||||
def commandComplete(self, cmd):
|
||||
self.addCompleteLog('warnings', '\n'.join(self.warningLines))
|
||||
|
|
Loading…
Reference in New Issue
Block a user