暂时屏蔽报警
This commit is contained in:
@@ -70,7 +70,7 @@ func RefreshConfig(configKey string, expiresTime time.Duration, configGetter fun
|
||||
if handleType != 0 {
|
||||
if curConfig.Token, curConfig.Date = configGetter(); curConfig.Token == "" {
|
||||
if globals.IsProductEnv() {
|
||||
globals.SugarLogger.Errorf("RefreshConfig %s get empty token", configKey)
|
||||
globals.SugarLogger.Infof("RefreshConfig %s get empty token", configKey)
|
||||
sleepDuration = errRefreshGap
|
||||
} else {
|
||||
globals.SugarLogger.Infof("RefreshConfig %s get empty token", configKey)
|
||||
|
||||
Reference in New Issue
Block a user