Skip to content

Commit

Permalink
Add a debug log (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre authored Jul 15, 2024
1 parent 936ef1b commit b7f506f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arborist/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ func (server *Server) handleAuthRequest(w http.ResponseWriter, r *http.Request,
return
}
if !rv.Auth {
server.logger.Debug("anonymous user is unauthorized")
_ = jsonResponseFrom(rv, 200).write(w, r)
return
}
Expand Down

0 comments on commit b7f506f

Please sign in to comment.