From 7179c5796aca5798f90e6962fedcd9b3c6577cee Mon Sep 17 00:00:00 2001 From: Benjamin Chess Date: Wed, 8 May 2019 08:29:38 -0700 Subject: [PATCH] make unable to fetch user a warning message --- providers/google.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/google.go b/providers/google.go index 7b8815f..02fd35f 100644 --- a/providers/google.go +++ b/providers/google.go @@ -186,7 +186,7 @@ func getAdminService(adminEmail string, credentialsReader io.Reader) *admin.Serv func userInGroup(service *admin.Service, groups []string, email string) bool { user, err := fetchUser(service, email) if err != nil { - logger.Printf("error fetching user: %v", err) + logger.Printf("Warning: unable to fetch user: %v", err) user = nil }