logger.Warn("Skipping apple account email import as it is already set in another user.",zap.Error(err),zap.String("appleID",profile.ID),zap.String("user_id",userID.String()))
}else{
logger.Error("Failed to import apple account email.",zap.Error(err),zap.String("appleID",profile.ID),zap.String("user_id",userID.String()))
returnstatus.Error(codes.Internal,"Error importing apple account email.")
logger.Warn("Skipping facebook account email import as it is already set in another user.",zap.Error(err),zap.String("facebookID",facebookProfile.ID),zap.String("username",username),zap.String("user_id",userID.String()))
}else{
logger.Error("Failed to import facebook account email.",zap.Error(err),zap.String("facebookID",facebookProfile.ID),zap.String("username",username),zap.String("user_id",userID.String()))
logger.Warn("Skipping google account email import as it is already set in another user.",zap.Error(err),zap.String("googleID",googleProfile.Sub),zap.String("created_user_id",userID.String()))
}else{
logger.Error("Failed to import google account email.",zap.Error(err),zap.String("googleID",googleProfile.Sub),zap.String("created_user_id",userID.String()))
returnstatus.Error(codes.Internal,"Error importing google account email.")