riparias / gbif-alert

GBIF Alert is a GBIF occurrence based alert system.
https://gbif-alert-demo.thebinaryforest.net/
MIT License
8 stars 2 forks source link

"ValueError at /my-custom-areas The file must contain a single feature, 212 features found" #275

Open niconoe opened 9 months ago

niconoe commented 9 months ago

Got that in the logs!

The error is to be expected (the info box explicitly asks a single feature), but it's not great that it triggers an error 500, a proper message should be shown for the user instead.

the user was @sronveaux, so Sebastien at least you know why you got an "internal server error" last Friday!

sronveaux commented 9 months ago

Hi @niconoe,

Apologies for this one, yes it was expected, I mistakenly exported the splitted layer instead of the aggregated one from QGis... but for sure, having a more user friendly message would be a good idea as for now we don't know which constraint was violated...