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

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

Issue 14218004: Devserver: only populate data during cron jobs, meaning all data from instances (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix integration test Created 7 years, 8 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
Index: chrome/common/extensions/docs/server2/template_data_source.py
diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py
index 96747cb03124c6c62bed66c5c841848f8978c4cb..288620a8c8f4083f2b7dafe9bf20d4bf915142cd 100644
--- a/chrome/common/extensions/docs/server2/template_data_source.py
+++ b/chrome/common/extensions/docs/server2/template_data_source.py
@@ -147,5 +147,6 @@ class TemplateDataSource(object):
try:
return self._cache.GetFromFile(base_path + '/' + real_path)
except FileNotFoundError as e:
- logging.info(e)
+ logging.warning('Template %s in %s not found: %s' % (
+ template_name, base_path, e))
return None

Powered by Google App Engine
This is Rietveld 408576698