diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/report-error.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/report-error.bbclass b/meta/classes/report-error.bbclass index 82b5bcd690..20d2bef797 100644 --- a/meta/classes/report-error.bbclass +++ b/meta/classes/report-error.bbclass | |||
@@ -58,6 +58,11 @@ python errorreport_handler () { | |||
58 | try: | 58 | try: |
59 | logFile = codecs.open(log, 'r', 'utf-8') | 59 | logFile = codecs.open(log, 'r', 'utf-8') |
60 | logdata = logFile.read() | 60 | logdata = logFile.read() |
61 | |||
62 | topdir = e.data.getVar('TOPDIR', True) | ||
63 | if topdir: | ||
64 | logdata = logdata.replace(topdir, ' ') | ||
65 | |||
61 | logFile.close() | 66 | logFile.close() |
62 | except: | 67 | except: |
63 | logdata = "Unable to read log file" | 68 | logdata = "Unable to read log file" |