Change not found error message

This commit is contained in:
Alexandre Iooss 2020-10-16 21:26:48 +02:00
parent 73a2adc055
commit 9fc94cf0de
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func viewerHandler(w http.ResponseWriter, r *http.Request) {
// Validation on path
if validPath.FindStringSubmatch(r.URL.Path) == nil {
http.NotFound(w, r)
log.Print(r.URL.Path)
log.Printf("Replied not found on %s", r.URL.Path)
return
}