Limit the mode types accepted

This commit is contained in:
Mario de Frutos
2016-02-12 10:01:42 +01:00
parent d9ca7911e4
commit 3a4130282e
3 changed files with 22 additions and 2 deletions
@@ -69,7 +69,7 @@ RETURNS SETOF cdb_dataservices_server.isoline AS $$
import sys, traceback
type_, value_, traceback_ = sys.exc_info()
quota_service.increment_failed_geocoder_use()
error_msg = 'There was an error trying to obtain isodistances using here maps geocoder: {0}'.format(e)
error_msg = 'There was an error trying to obtain isodistances: {0}'.format(e)
plpy.notice(traceback.format_tb(traceback_))
plpy.error(error_msg)
finally: