Cache invalid locations

This commit is contained in:
Matthew Oslan
2020-07-11 00:32:36 -04:00
parent 91968dc1be
commit 252a68fd8e
2 changed files with 20 additions and 5 deletions

View File

@@ -27,7 +27,6 @@ export default class GoogleMaps extends Geocoder {
}
if ( !data.results.length ) {
console.log( `No results found for location "${ location }"` );
throw new CodedError( ErrorCode.NoLocationFound );
}