From 2d4b03fbc9af75cf8029a854928906354fe35c48 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 19 Feb 2015 21:38:02 +0100 Subject: [PATCH] Improve parsing of faulthandler logs. --- qutebrowser/misc/crashdialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 1044a31ef..df5e39397 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -52,7 +52,7 @@ def parse_fatal_stacktrace(text): lines = [ r'Fatal Python error: (.*)', r' *', - r'Current thread [^ ]* \(most recent call first\): *', + r'(Current )?[Tt]hread [^ ]* \(most recent call first\): *', r' File ".*", line \d+ in (.*)', ] m = re.match('\n'.join(lines), text)