Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
bug 793641 - prefix "abort: HTTP Error 500: Internal Server Error" wi…
Browse files Browse the repository at this point in the history
…th "Automation Error:" so TBPL's parser recognises it. r=armenzg
  • Loading branch information
escapewindow committed Sep 24, 2012
1 parent 453fad3 commit 7e7f695
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mozharness/base/errors.py
Expand Up @@ -54,9 +54,12 @@ class VCSException(Exception):
]

HgErrorList = BaseErrorList + [
{'regex': re.compile(r'''^abort:'''), 'level': ERROR},
{'substr': r'''unknown exception encountered''', 'level': ERROR},
{'substr': r'''failed to import extension''', 'level': WARNING},
{'regex': re.compile(r'''^abort:'''), 'level': ERROR,
'explanation': 'Automation Error: hg not responding'},
{'substr': r'''unknown exception encountered''', 'level': ERROR,
'explanation': 'Automation Error: python exception in hg'},
{'substr': r'''failed to import extension''', 'level': WARNING,
'explanation': 'Automation Error: hg extension missing'},
]

PythonErrorList = BaseErrorList + [
Expand Down

0 comments on commit 7e7f695

Please sign in to comment.