Skip to content

Commit

Permalink
Merge pull request #15 from vrenaville/fix_log_unused
Browse files Browse the repository at this point in the history
feat: remove unuseful log
  • Loading branch information
vrenaville authored Jul 7, 2022
2 parents 5eed961 + 7cde313 commit da6ee50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/kwkhtmltopdf_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
addr_array, err := net.LookupAddr(hostArg)
addr := ""
if err != nil {
log.Warn().Err(err).Msg("Cannot get resolve DNS addr, use IP as fallback")
// We can't get the dns , so we use ip instead
addr = hostArg
} else {
addr = addr_array[0]
Expand Down

0 comments on commit da6ee50

Please sign in to comment.