Skip to content

Commit

Permalink
Cannot-ize log message per review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoyt committed Aug 15, 2023
1 parent e3ed6a1 commit a256ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (c *Command) canAccess(r *http.Request, user *UserState) accessResult {
if err == nil {
isUser = true
} else if err != errNoID {
logger.Noticef("Unexpected error when attempting to get UID: %s", err)
logger.Noticef("Cannot parse UID from remote address %q: %s", r.RemoteAddr, err)
return accessForbidden
}

Expand Down

0 comments on commit a256ee8

Please sign in to comment.