Index: doc/go/docserver/main.go |
diff --git a/doc/go/docserver/main.go b/doc/go/docserver/main.go |
index d5ee7e2a2508a25a257fd8d7708fcc2aa7b4cfde..3bd366c4a15f6a6dbbc3f72b2080577a007e8380 100644 |
--- a/doc/go/docserver/main.go |
+++ b/doc/go/docserver/main.go |
@@ -7,7 +7,6 @@ package main |
import ( |
"flag" |
- "fmt" |
"mime" |
"net/http" |
"path/filepath" |
@@ -113,7 +112,8 @@ func mainHandler(w http.ResponseWriter, r *http.Request) { |
filename, raw, err := d.RawFilename(r.URL.Path) |
if err != nil { |
- util.ReportError(w, r, err, fmt.Sprintf("Failed to find a matching file for %q %q", r.URL.Path, filename)) |
+ glog.Infof("Request for unknown path: %s", r.URL.Path) |
+ http.NotFound(w, r) |
return |
} |