Skip to content

Commit

Permalink
Merge pull request #352 from kevinburke/fix-404
Browse files Browse the repository at this point in the history
api: fix 404 error logging
  • Loading branch information
jzelinskie authored Apr 4, 2017
2 parents 762d924 + 6a50bbb commit 76a6b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (rtr router) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}

log.Infof("%s %d %s %s", http.StatusNotFound, r.Method, r.RequestURI, r.RemoteAddr)
log.Infof("%d %s %s %s", http.StatusNotFound, r.Method, r.RequestURI, r.RemoteAddr)
http.NotFound(w, r)
}

Expand Down

0 comments on commit 76a6b24

Please sign in to comment.