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

Unified Diff: chrome/common/extensions/docs/server2/api_data_source.py

Issue 10808065: Extensions Docs Server: TDS fix, no local caching (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 5 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 | chrome/common/extensions/docs/server2/appengine_url_fetcher.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/api_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_data_source.py b/chrome/common/extensions/docs/server2/api_data_source.py
index b189e358176fafd1dde24cba6f70129f28f2958b..323373c66aae5cd32f023ea9a56c7fcea5350d1f 100644
--- a/chrome/common/extensions/docs/server2/api_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_data_source.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import json
+import logging
import os
from handlebar_dict_generator import HandlebarDictGenerator
@@ -43,5 +44,6 @@ class APIDataSource(object):
except Exception:
try:
return self._idl_cache.GetFromFile(self._base_path + '/' + idl_path)
- except Exception:
+ except Exception as e:
+ logging.warn(e)
return None
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/appengine_url_fetcher.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698