π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] avoid scary error msgs if payment/billing configuration is not found
mngshm26cb6ad72238
diff --git a/server/pkg/controller/offer/offer.go b/server/pkg/controller/offer/offer.goindex 94235d74b3..0a313ecd11 100644--- a/server/pkg/controller/offer/offer.go+++ b/server/pkg/controller/offer/offer.go@@ -42,7 +42,7 @@ func NewOfferController(blackFridayOffers := make(ente.BlackFridayOfferPerCountry)path, err := config.BillingConfigFilePath("black-friday.json")if err != nil {- log.Fatalf("Error getting offer config file: %v", err)+ log.Fatalf("Skipping BF configuration, config file not found: %v", err)}data, err := os.ReadFile(path)if err != nil {diff --git a/server/pkg/utils/billing/billing.go b/server/pkg/utils/billing/billing.goindex e6e0e6a718..b2d012012d 100644--- a/server/pkg/utils/billing/billing.go+++ b/server/pkg/utils/billing/billing.go@@ -88,7 +88,7 @@ func parsePricingFile(fileName string) ente.BillingPlansPerCountry {}data, err := os.ReadFile(filePath)if err != nil {- logrus.Errorf("Error reading file %s: %v\n", filePath, err)+ logrus.Errorf("Skipping payment configuration, (config file not found): %v\n", err)return nil}