summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTroels Dalsgaard Hoffmeyer <tdah@bang-olufsen.dk>2024-08-09 13:50:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-15 15:15:10 +0100
commit67efcf3102b31581cb95f9c4b1a1aedff7464a53 (patch)
tree42b67ce1cb6badbc9ff46c6c58ee351645cc29d5 /meta
parent96b61275be85b46712308b6ec5695865e0716c2e (diff)
downloadpoky-67efcf3102b31581cb95f9c4b1a1aedff7464a53.tar.gz
bitbake: build/exec_task: Log str() instead of repr() for exceptions in build
When getting errors during build, they would be printed using repr(), which doesnt have a lot of context in some cases. For example FileNotFoundError(2, "file or directory not found"), would be printed, without the path of the file not found. This changes the build logging to use str() instead, which according to the spec is fore human readable strings, whereas repr() is for string representations that can be be used as valid python. (Bitbake rev: 2a97024b8b9245ec47deace011a7560a25491207) Signed-off-by: Troels Dalsgaard Hoffmeyer <tdah@bang-olufsen.dk> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions