Make inspections failure for cells have unique error message

This commit is contained in:
Eli Ribble 2026-01-07 14:24:56 +00:00
parent 3e76c41a9c
commit d0f37c18cc

View file

@ -274,7 +274,7 @@ func htmlCell(ctx context.Context, w http.ResponseWriter, user *models.User, c i
}
inspections, err := inspectionsByCell(ctx, org, h3.Cell(c))
if err != nil {
respondError(w, "Failed to get inspections", err, http.StatusInternalServerError)
respondError(w, "Failed to get inspections by cell", err, http.StatusInternalServerError)
return
}
geojson, err := h3ToGeoJSON([]h3.Cell{h3.Cell(c)})