Merge pull request #390 from CartoDB/fix-typo-logger
Fix typo while using logger
This commit is contained in:
commit
0cd0087f3f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user