We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb81ce commit 42db46aCopy full SHA for 42db46a
src/server.go
@@ -45,7 +45,7 @@ func (h *handler) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
45
if len(CLI.BasicAuth) > 0 {
46
user, pass, ok := req.BasicAuth()
47
if !ok {
48
- fmt.Println("Error parsing basic auth")
+ lg.LogError("Error parsing sent basic auth", logrus.Fields{})
49
resp.WriteHeader(401)
50
return
51
}
0 commit comments