Bug 872507 - Tweak logcat java-exception regex to strip more whitespace; r=jmaher

This commit is contained in:
Ed Morley 2013-05-17 12:42:02 +01:00
parent e810b729f7
commit b94948dc95

View File

@ -105,7 +105,7 @@ class RemoteAutomation(Automation):
# #
# -> java.lang.NullPointerException at org.mozilla.gecko.GeckoApp$21.run(GeckoApp.java:1833) # -> java.lang.NullPointerException at org.mozilla.gecko.GeckoApp$21.run(GeckoApp.java:1833)
found_exception = True found_exception = True
logre = re.compile(r".*\):\s(.*)") logre = re.compile(r".*\): \t?(.*)")
m = logre.search(logcat[i+1]) m = logre.search(logcat[i+1])
if m and m.group(1): if m and m.group(1):
top_frame = m.group(1) top_frame = m.group(1)