From 69e4fe2f9925a71b6b3aa86c2ae8173091f9dad3 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 27 Jan 2018 00:47:46 +0100 Subject: Remote JSON exception handling --- jfr_playoff/settings.py | 5 +++-- 1 file 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): -- cgit v1.2.3