Logging and deps

This commit is contained in:
2024-05-08 14:43:57 -06:00
parent 994a2fabd6
commit 8fed511607
8 changed files with 63 additions and 43 deletions

View File

@ -34,7 +34,7 @@ func CreateCheckoutSession(w http.ResponseWriter, r *http.Request, successUrl st
s, err := session.New(params)
if err != nil {
log.Printf("session.New: %v", err)
LogError.Printf("session.New: %v", err)
}
http.Redirect(w, r, s.URL, http.StatusSeeOther)