Change notice for info in the logger method
This commit is contained in:
parent
5f8416d166
commit
7f2f6e7d99
@ -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
|
||||||
|
@ -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]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user