Improve parsing of faulthandler logs.
This commit is contained in:
parent
543c6cb90b
commit
2d4b03fbc9
@ -52,7 +52,7 @@ def parse_fatal_stacktrace(text):
|
|||||||
lines = [
|
lines = [
|
||||||
r'Fatal Python error: (.*)',
|
r'Fatal Python error: (.*)',
|
||||||
r' *',
|
r' *',
|
||||||
r'Current thread [^ ]* \(most recent call first\): *',
|
r'(Current )?[Tt]hread [^ ]* \(most recent call first\): *',
|
||||||
r' File ".*", line \d+ in (.*)',
|
r' File ".*", line \d+ in (.*)',
|
||||||
]
|
]
|
||||||
m = re.match('\n'.join(lines), text)
|
m = re.match('\n'.join(lines), text)
|
||||||
|
Loading…
Reference in New Issue
Block a user