replaced fmt.Println with logger usage

This commit is contained in:
2026-01-11 17:15:57 -07:00
parent 83b99418cd
commit a72fd9e0e8
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func (h Webhooks) redirectURI(w http.ResponseWriter, r *http.Request) {
ok, err := h.etsy.HandleNewAuthCode(ctx, acctID, state, q.Get("code"))
if err != nil {
w.WriteHeader(http.StatusForbidden)
fmt.Println("failed to handle new auth code:", err)
h.log.Error("failed to handle new auth code", "error", err)
return
}
if !ok {