diff --git a/cmd/kg/handlers.go b/cmd/kg/handlers.go index 6b95ead..7f864a1 100644 --- a/cmd/kg/handlers.go +++ b/cmd/kg/handlers.go @@ -110,7 +110,7 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { output, err := command.Output() if err != nil { - http.Error(w, fmt.Sprintf("unable to execute dot: %v (is graphviz package installed?)", err), http.StatusInternalServerError) + http.Error(w, "unable to render graph", http.StatusInternalServerError) return }