[PATCH v2 1/1] RSB: Mitigate too short error reports
Frank Kuehndel
frank.kuehndel at embedded-brains.de
Fri Jan 20 15:06:09 UTC 2023
From: Frank Kühndel <frank.kuehndel at embedded-brains.de>
Close #4642
---
source-builder/sb/ereport.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py
index d8fb5f6..52ee2eb 100755
--- a/source-builder/sb/ereport.py
+++ b/source-builder/sb/ereport.py
@@ -54,7 +54,9 @@ def generate(name, opts, header = None, footer = None):
name = name.replace('/', '-')
with open(name, 'w') as l:
l.write(os.linesep.join(r))
- log.notice(' See error report: %s' % (name))
+ log.notice(os.linesep.join([' See error report: %s' % (name),
+ ' Note: In some cases the error appears only in',
+ ' the complete build log (see --log option)']))
except:
log.stderr('error: failure to create error report')
raise
--
2.35.3
More information about the devel
mailing list