From 91968dc1bee5322f8214e458affd3236a914eccb Mon Sep 17 00:00:00 2001 From: Matthew Oslan Date: Fri, 10 Jul 2020 00:15:52 -0400 Subject: [PATCH] Log invalid locations --- routes/geocoders/GoogleMaps.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/geocoders/GoogleMaps.ts b/routes/geocoders/GoogleMaps.ts index 237ee86..d5cbe35 100644 --- a/routes/geocoders/GoogleMaps.ts +++ b/routes/geocoders/GoogleMaps.ts @@ -27,6 +27,7 @@ export default class GoogleMaps extends Geocoder { } if ( !data.results.length ) { + console.log( `No results found for location "${ location }"` ); throw new CodedError( ErrorCode.NoLocationFound ); }