diff --git a/handler.go b/handler.go index 270b9c072..acf5d29f9 100644 --- a/handler.go +++ b/handler.go @@ -1967,7 +1967,7 @@ func (h *Handler) handlePostClusterResizeSetCoordinator(w http.ResponseWriter, r newNode := h.Cluster.nodeByID(req.ID) if newNode == nil { - http.Error(w, err.Error(), http.StatusBadRequest) + http.Error(w, "Node with provided ID does not exist", http.StatusBadRequest) return }