Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[server] Remove unnecessary logging when mailing lists are not configured

Manav Rathiac15a502b9b2
diff --git a/server/pkg/controller/mailing_lists.go b/server/pkg/controller/mailing_lists.go
index 239d71c348..fbec444951 100644
--- a/server/pkg/controller/mailing_lists.go
+++ b/server/pkg/controller/mailing_lists.go
@@ -141,7 +141,7 @@ func (c *MailingListsController) Unsubscribe(email string) error {
// should be skipped due to missing credentials.
func (c *MailingListsController) shouldSkipZoho() bool {
if c.zohoCredentials.RefreshToken == "" {
- log.Info("Skipping Zoho mailing list update because credentials are not configured")
+ // Skip
return true
}
return false
@@ -157,7 +157,7 @@ func (c *MailingListsController) shouldSkipZoho() bool {
func (c *MailingListsController) shouldSkipListmonk() bool {
if c.listmonkCredentials.BaseURL == "" || c.listmonkCredentials.Username == "" ||
c.listmonkCredentials.Password == "" || len(c.listmonkListIDs) == 0 {
- log.Info("Skipping Listmonk mailing list because credentials are not configured")
+ // Skip
return true
}
return false