diff --git a/apps/datahub/src/app/app.module.ts b/apps/datahub/src/app/app.module.ts index 89920806f9..935be29ada 100644 --- a/apps/datahub/src/app/app.module.ts +++ b/apps/datahub/src/app/app.module.ts @@ -176,6 +176,11 @@ export const metaReducers: MetaReducer[] = !environment.production ? [] : [] return fetch(getOptionalSearchConfig().FILTER_GEOMETRY_URL) .then((resp) => resp.json()) .then(getGeometryFromGeoJSON) + .catch(() => + console.log( + 'No spatial filter was applied since a valid geometry could not be found' + ) + ) } return null },