From 8204bb3451f4e9a80e4974d41f5f059145ef8c82 Mon Sep 17 00:00:00 2001 From: John Krauss Date: Thu, 12 Jan 2017 04:03:33 +0000 Subject: [PATCH] fix error-causing raise (which obscures real error) --- .../cartodb_services/cartodb_services/tools/redis_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/tools/redis_tools.py b/server/lib/python/cartodb_services/cartodb_services/tools/redis_tools.py index 2b77531..7cbc375 100644 --- a/server/lib/python/cartodb_services/cartodb_services/tools/redis_tools.py +++ b/server/lib/python/cartodb_services/cartodb_services/tools/redis_tools.py @@ -41,7 +41,7 @@ class RedisDBConfig: key) conf = self._db_conn.execute(conf_query)[0]['conf'] if conf is None: - raise "There is no redis configuration defined" + raise Exception("There is no redis configuration defined") else: params = json.loads(conf) self._host = params['redis_host']