[oe] [oe-commits] [openembedded-core] 28/29: sstatesig: Improve debug output if getpwuid() fails

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jan 14 21:58:14 UTC 2020


On Tue, 2020-01-14 at 22:55 +0100, Martin Jansa wrote:
> Would it makes sense to print the exception in the same bb.warn, so
> that the missing UID is written in the same line as the path - not in
> the exception stack trace printed after? But maybe it's not important
> as with raise there will always be just one exception like this and
> it will be printed immediately after (while in my debug before I was
> listing all the files with this issue without leaving the build to
> fail).

I'm torn on that, I don't really want to interfere with the error
handling path, equally as it stands today the traceback isn't so useful
without knowing where it failed. Not straight forward :/.

Cheers,

Richard



More information about the Openembedded-devel mailing list