]> code.ossystems Code Review - openembedded-core.git/commit
report-error: Catch un-readable log data
authorMichael Wood <michael.g.wood@intel.com>
Tue, 3 Feb 2015 14:20:12 +0000 (14:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Feb 2015 14:29:56 +0000 (14:29 +0000)
commit787ffc5e12f1639aa5e0917bb23deced53a0478e
tree3095b1e1d66158f1bb480a80ce6c00835332b626
parent818bcba063819b80d5a99827c5adb8ee157dbfe1
report-error: Catch un-readable log data

If a log data cannot be decoded to utf-8 or read then handle this
gracefully. This can happen if a log file contains binary or something
goes wrong with the file open process.

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/report-error.bbclass