rebaseline_server: keep going on exception in ImagePair.__init__()
BUG=skia:2247 NOTREECHECKS=True NOTRY=True R=borenet@google.com TBR=borenet Author: epoger@google.com Review URL: https://codereview.chromium.org/184103022 git-svn-id: http://skia.googlecode.com/svn/trunk@13650 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
1643b2c9bc
commit
3b98759529
@ -389,6 +389,7 @@ class Results(object):
|
||||
KEY__EXTRACOLUMN__TEST: test,
|
||||
KEY__EXTRACOLUMN__CONFIG: config,
|
||||
}
|
||||
try:
|
||||
image_pair = imagepair.ImagePair(
|
||||
image_diff_db=self._image_diff_db,
|
||||
base_url=gm_json.GM_ACTUALS_ROOT_HTTP_URL,
|
||||
@ -399,6 +400,8 @@ class Results(object):
|
||||
all_image_pairs.add_image_pair(image_pair)
|
||||
if updated_result_type != KEY__RESULT_TYPE__SUCCEEDED:
|
||||
failing_image_pairs.add_image_pair(image_pair)
|
||||
except Exception:
|
||||
logging.exception('got exception while creating new ImagePair')
|
||||
|
||||
self._results = {
|
||||
KEY__HEADER__RESULTS_ALL: all_image_pairs.as_dict(),
|
||||
|
Loading…
Reference in New Issue
Block a user