summaryrefslogtreecommitdiff
path: root/jfr_playoff/settings.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-01-27 00:47:46 +0100
committeremkael <emkael@tlen.pl>2018-01-27 00:47:46 +0100
commit69e4fe2f9925a71b6b3aa86c2ae8173091f9dad3 (patch)
treee0fa6053f74d08be80a1d97e56144c6b1d626a6a /jfr_playoff/settings.py
parentac5c7284840e501a60f24f3773677e55f2e8741a (diff)
Remote JSON exception handling
Diffstat (limited to 'jfr_playoff/settings.py')
-rw-r--r--jfr_playoff/settings.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/jfr_playoff/settings.py b/jfr_playoff/settings.py
index a4118ea..acfd417 100644
--- a/jfr_playoff/settings.py
+++ b/jfr_playoff/settings.py
@@ -32,8 +32,9 @@ class PlayoffSettings(object):
if (key not in base_config) or overwrite:
base_config[key] = value
except Exception as e:
- print 'WARNING: unable to fetch remote config %s: %s' % (
- url, str(e))
+ print 'WARNING: unable to merge remote config: %s' % (str(e))
+ if remote_url is not None:
+ print 'Offending URL: %s' % (remote_url)
return base_config
def load(self):