Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: components/domain_reliability/bake_in_configs.py

Issue 656033008: Domain Reliability: Reenable AddBakedInConfigs test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/domain_reliability/monitor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/bake_in_configs.py
diff --git a/components/domain_reliability/bake_in_configs.py b/components/domain_reliability/bake_in_configs.py
index 9990d88dbd4ff2c91c905401eaef3d64dec8cf50..291e1ae11c9c25711988e22fb701830ff3e9a4ec 100755
--- a/components/domain_reliability/bake_in_configs.py
+++ b/components/domain_reliability/bake_in_configs.py
@@ -533,9 +533,10 @@ def main():
json_text = f.read()
try:
config = json.loads(json_text)
- except ValueError:
- print >> sys.stderr, "%s: error parsing JSON" % json_file
- raise
+ except ValueError, e:
+ print >> sys.stderr, "%s: error parsing JSON: %s" % (json_file, e)
+ found_invalid_config = True
+ continue
if 'monitored_domain' not in config:
print >> sys.stderr, '%s: no monitored_domain found' % json_file
found_invalid_config = True
« no previous file with comments | « no previous file | components/domain_reliability/monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698