[PATCH 1/1] RSB: Mitigate too short error reports
Frank Kuehndel
frank.kuehndel at embedded-brains.de
Tue Dec 20 16:44:11 UTC 2022
From: Frank Kühndel <frank.kuehndel at embedded-brains.de>
Close #4642
---
source-builder/sb/ereport.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py
index d8fb5f6..d391917 100755
--- a/source-builder/sb/ereport.py
+++ b/source-builder/sb/ereport.py
@@ -55,6 +55,10 @@ def generate(name, opts, header = None, footer = None):
with open(name, 'w') as l:
l.write(os.linesep.join(r))
log.notice(' See error report: %s' % (name))
+ log.notice(' (Hint: The first error may be in front of a '
+ 'line containing\n'
+ ' "Error 1" [GNU make] and may be only in the whole log '
+ '["--log" option].)')
except:
log.stderr('error: failure to create error report')
raise
--
2.35.3
More information about the devel
mailing list