Change notice for info in the logger method

This commit is contained in:
Mario de Frutos 2016-08-04 17:48:11 +02:00
parent 5f8416d166
commit 7f2f6e7d99
7 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
comment = 'CartoDB dataservices server extension' comment = 'CartoDB dataservices server extension'
default_version = '0.14' default_version = '0.14.1'
requires = 'plpythonu, plproxy, postgis, cdb_geocoder' requires = 'plpythonu, plproxy, postgis, cdb_geocoder'
superuser = true superuser = true
schema = cdb_dataservices_server 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) client = MapzenRouting(user_routing_config.mapzen_api_key, logger)
if not waypoints or len(waypoints) < 2: 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() quota_service.increment_empty_service_use()
return [None, None, None] return [None, None, None]