Merge pull request #250 from CartoDB/fix_logger_missing_method

Change notice for info in the logger method
This commit is contained in:
Mario de Frutos
2016-08-05 11:12:59 +02:00
committed by GitHub
7 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
comment = 'CartoDB dataservices server extension'
default_version = '0.14'
default_version = '0.14.1'
requires = 'plpythonu, plproxy, postgis, cdb_geocoder'
superuser = true
schema = cdb_dataservices_server

View File

@@ -34,7 +34,7 @@ RETURNS cdb_dataservices_server.simple_route AS $$
client = MapzenRouting(user_routing_config.mapzen_api_key, logger)
if not waypoints or len(waypoints) < 2:
logger.notice("Empty origin or destination")
logger.info("Empty origin or destination")
quota_service.increment_empty_service_use()
return [None, None, None]