Slightly better error matching when parsing spack logs (#5236)
This commit is contained in:
parent
462de9847c
commit
c830eda0e6
@ -86,7 +86,7 @@ def parse_log_events(logfile, context=6):
|
||||
|
||||
log_events = []
|
||||
for i, line in enumerate(lines):
|
||||
if re.search('error:', line, re.IGNORECASE):
|
||||
if re.search('\berror:', line, re.IGNORECASE):
|
||||
event = LogEvent(
|
||||
line.strip(),
|
||||
i + 1,
|
||||
|
Loading…
Reference in New Issue
Block a user