Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9579a97 commit b2b521fCopy full SHA for b2b521f
1 file changed
lib/core/common.py
@@ -1539,7 +1539,7 @@ def extractErrorMessage(page):
1539
retVal = None
1540
1541
if isinstance(page, basestring):
1542
- for regex in (r"<b>[^<]*(fatal|error|warning|exception)[^<]*</b>:?\s+(?P<result>.+)<br\s*/?\s*>", r"<li>Error Type:<br>(?P<result>.+?)</li>"):
+ for regex in (r"<b>[^<]*(fatal|error|warning|exception)[^<]*</b>:?\s+(?P<result>.+?)<br\s*/?\s*>", r"<li>Error Type:<br>(?P<result>.+?)</li>"):
1543
match = re.search(regex, page, re.DOTALL | re.IGNORECASE)
1544
if match:
1545
retVal = htmlunescape(match.group("result")).replace("<br>", "\n").strip()
0 commit comments