Skip to content

Commit

Permalink
Do not log error to stdout directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmidt committed Feb 27, 2022
1 parent b7ce746 commit d70a822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restapi.go
Expand Up @@ -109,7 +109,7 @@ func (s *Session) RequestWithLockedBucket(method, urlStr, contentType string, b
defer func() {
err2 := resp.Body.Close()
if err2 != nil {
log.Println("error closing resp body")
s.log(LogDebug, "error closing resp body")
}
}()

Expand Down

0 comments on commit d70a822

Please sign in to comment.