From 4035ffcfd4d407a9d3b39f8c61bac316b6b10ced Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 22 Feb 2018 07:07:26 +0100 Subject: [PATCH] Log the error also --- dynamicweb/settings/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index 78d2db44..b3bb0d20 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -524,7 +524,9 @@ else: try: configs_dict=json.loads(UNGLEICH_SITE_CONFIGS) except ValueError as verr: - raise Exception("UNGLEICH_SITE_CONFIGS is not a valid JSON") + raise Exception("UNGLEICH_SITE_CONFIGS is not a valid JSON: {}".format( + str(verr) + )) else: MULTISITE_CMS_URLS = { k:v['MULTISITE_CMS_URL'] for (k,v) in configs_dict.items()