hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Raise Httpexception instead of value error for shapefile limit #320

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

Since shapefile limit is not error produced by application return the exception to user instead of raising valuerror ! This will reduce a lot of sentry error and log them as warning and will better help to filter our real issues in API