mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Clarify some error messages
This commit is contained in:
parent
aba67364b1
commit
628def3db7
2 changed files with 2 additions and 2 deletions
2
api.go
2
api.go
|
|
@ -1121,7 +1121,7 @@ func (api *API) ImportValue(ctx context.Context, req *ImportValueRequest, opts .
|
|||
}
|
||||
}
|
||||
|
||||
return errors.Wrap(err, "importing")
|
||||
return errors.Wrap(err, "importing value")
|
||||
}
|
||||
|
||||
options.IgnoreKeyCheck = true
|
||||
|
|
|
|||
|
|
@ -1730,7 +1730,7 @@ func (h *Handler) handlePostImportRoaring(w http.ResponseWriter, r *http.Request
|
|||
// Marshal response object.
|
||||
buf, err := h.api.Serializer.Marshal(resp)
|
||||
if err != nil {
|
||||
http.Error(w, fmt.Sprintf("marshal import response: %v", err), http.StatusInternalServerError)
|
||||
http.Error(w, fmt.Sprintf("marshal import-roaring response: %v", err), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue