From e9346faf42274319085f4e77f8c79b17bbb79f87 Mon Sep 17 00:00:00 2001 From: Carla Date: Wed, 6 Jul 2016 12:33:59 +0200 Subject: [PATCH] Fix bug on exception raise --- .../python/cartodb_services/cartodb_services/metrics/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/metrics/config.py b/server/lib/python/cartodb_services/cartodb_services/metrics/config.py index 340e5f6..d1b4a35 100644 --- a/server/lib/python/cartodb_services/cartodb_services/metrics/config.py +++ b/server/lib/python/cartodb_services/cartodb_services/metrics/config.py @@ -144,7 +144,7 @@ class MapzenGeocoderConfig(ServiceConfig): self._period_end_date = date_parse(self._redis_config[self.PERIOD_END_DATE]) self._cost_per_hit = 0 except Exception as e: - raise ConfigException("Malformed config for Mapzen geocoder: {1}".format(key, e)) + raise ConfigException("Malformed config for Mapzen geocoder: {0}".format(e)) @property def service_type(self):