Log err in GetCurrentUser
This commit is contained in:
parent
bd4f9047d9
commit
2a95868d5f
@ -27,6 +27,7 @@ func GetCurrentUser(app *app.App, r *http.Request) (User, error) {
|
||||
cookie, err := r.Cookie("session")
|
||||
if err != nil {
|
||||
log.Println("Error getting session cookie")
|
||||
log.Println(err)
|
||||
return User{}, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user