Make inspections failure for cells have unique error message
This commit is contained in:
parent
3e76c41a9c
commit
d0f37c18cc
1 changed files with 1 additions and 1 deletions
2
html.go
2
html.go
|
|
@ -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)})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue