From e3b0e617944ed6d836f7513f8921dc7dcb303ab3 Mon Sep 17 00:00:00 2001 From: Allan Guwatudde Date: Tue, 1 Mar 2022 18:25:04 +0300 Subject: [PATCH] [MM-40962] - Remove log when checking renewal token validity (#19653) --- app/license.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/license.go b/app/license.go index af295dee73..f6e9bafc10 100644 --- a/app/license.go +++ b/app/license.go @@ -370,10 +370,7 @@ func (s *Server) GenerateRenewalToken(expiration time.Duration) (string, *model. currentToken, _ := s.Store.System().GetByName(model.SystemLicenseRenewalToken) if currentToken != nil { - tokenIsValid, err := s.renewalTokenValid(currentToken.Value, license.Customer.Email) - if err != nil { - mlog.Warn("error checking license renewal token validation", mlog.Err(err)) - } + tokenIsValid, _ := s.renewalTokenValid(currentToken.Value, license.Customer.Email) if currentToken.Value != "" && tokenIsValid { return currentToken.Value, nil }