Ensure all errors are logged in ProcessCookie()

This commit is contained in:
Mike Bland 2015-05-08 11:51:43 -04:00
parent beed9fb9a2
commit f554f99abd

View File

@ -266,11 +266,11 @@ func (p *OauthProxy) ProcessCookie(rw http.ResponseWriter, req *http.Request) (e
if ok { if ok {
email, user, access_token, err = parseCookieValue( email, user, access_token, err = parseCookieValue(
value, p.AesCipher) value, p.AesCipher)
if err != nil {
log.Printf(err.Error())
}
} }
} }
if err != nil {
log.Printf(err.Error())
}
return return
} }