Show a warning if a RE finds nothing
This commit is contained in:
parent
000b6635ec
commit
e859317685
@ -511,6 +511,8 @@ class OOMAnalyser(object):
|
||||
match = rec.search(self.oom_entity.text)
|
||||
if match:
|
||||
self.results.update(match.groupdict())
|
||||
else:
|
||||
warning('No match for regex: "{}"'.format(rec.pattern))
|
||||
|
||||
match = self.REC_MEM_NODEINFO.search(self.oom_entity.text)
|
||||
if match:
|
||||
|
Loading…
Reference in New Issue
Block a user