diff --git a/pkg/server/handlers.go b/pkg/server/handlers.go index 42634d4..8f0b509 100644 --- a/pkg/server/handlers.go +++ b/pkg/server/handlers.go @@ -207,7 +207,7 @@ func (h *Handler) GetInstance() http.HandlerFunc { inst, err := h.InstanceManager.GetInstance(name) if err != nil { - http.Error(w, "Failed to get instance: "+err.Error(), http.StatusInternalServerError) + http.Error(w, "Invalid instance: "+err.Error(), http.StatusBadRequest) return }