Ensure all errors are logged in ProcessCookie()
This commit is contained in:
		
							parent
							
								
									beed9fb9a2
								
							
						
					
					
						commit
						f554f99abd
					
				|  | @ -266,11 +266,11 @@ func (p *OauthProxy) ProcessCookie(rw http.ResponseWriter, req *http.Request) (e | |||
| 		if ok { | ||||
| 			email, user, access_token, err = parseCookieValue( | ||||
| 				value, p.AesCipher) | ||||
| 			if err != nil { | ||||
| 				log.Printf(err.Error()) | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 	if err != nil { | ||||
| 		log.Printf(err.Error()) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue