diff --git a/lib/core/common.py b/lib/core/common.py index 58245c045..e8d0a4438 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1539,7 +1539,7 @@ def extractErrorMessage(page): retVal = None if isinstance(page, basestring): - for regex in (r"[^<]*(fatal|error|warning|exception)[^<]*:?\s+(?P.+)", r"
  • Error Type:
    (?P.+?)
  • "): + for regex in (r"[^<]*(fatal|error|warning|exception)[^<]*:?\s+(?P.+?)", r"
  • Error Type:
    (?P.+?)
  • "): match = re.search(regex, page, re.DOTALL | re.IGNORECASE) if match: retVal = htmlunescape(match.group("result")).replace("
    ", "\n").strip()