make unable to fetch user a warning message
This commit is contained in:
parent
3f2fab10e6
commit
7179c5796a
@ -186,7 +186,7 @@ func getAdminService(adminEmail string, credentialsReader io.Reader) *admin.Serv
|
|||||||
func userInGroup(service *admin.Service, groups []string, email string) bool {
|
func userInGroup(service *admin.Service, groups []string, email string) bool {
|
||||||
user, err := fetchUser(service, email)
|
user, err := fetchUser(service, email)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Printf("error fetching user: %v", err)
|
logger.Printf("Warning: unable to fetch user: %v", err)
|
||||||
user = nil
|
user = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user