Log err in GetCurrentUser

This commit is contained in:
max 2022-11-04 13:59:24 -05:00
parent bd4f9047d9
commit 2a95868d5f

View File

@ -27,6 +27,7 @@ func GetCurrentUser(app *app.App, r *http.Request) (User, error) {
cookie, err := r.Cookie("session") cookie, err := r.Cookie("session")
if err != nil { if err != nil {
log.Println("Error getting session cookie") log.Println("Error getting session cookie")
log.Println(err)
return User{}, err return User{}, err
} }