From 13a876b854586d6e366602a2970b6555a5625115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 21 Jul 2017 14:43:41 +0200 Subject: [PATCH] Fix typo while logging caught error in geocoder --- .../lib/python/cartodb_services/cartodb_services/metrics/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/metrics/log.py b/server/lib/python/cartodb_services/cartodb_services/metrics/log.py index e4c4164..8ec4bb9 100644 --- a/server/lib/python/cartodb_services/cartodb_services/metrics/log.py +++ b/server/lib/python/cartodb_services/cartodb_services/metrics/log.py @@ -147,7 +147,7 @@ class MetricsLogger(object): json.dump(data, logfile) logfile.write('\n') except BaseException as e: - self._logger("Error dumping metrics to file {0}".format(log_path), + self._logger.error("Error dumping metrics to file {0}".format(log_path), exception=e) def collect_data(self, data):