Yuki Takei пре 1 година
родитељ
комит
c5e75e961b
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      apps/app/src/server/service/config-manager/config-manager.ts

+ 3 - 1
apps/app/src/server/service/config-manager/config-manager.ts

@@ -96,7 +96,9 @@ export class ConfigManager implements IConfigManagerForApp, S2sMessageHandlable
 
     const valueByLegacy = configManagerLegacy.getConfig(ns, key);
     if (value !== valueByLegacy) {
-      logger.warn(`The value of the config key '${key}' is different between the new and legacy config managers: `, { value, valueByLegacy });
+      if (!(value === undefined && valueByLegacy === null)) {
+        logger.warn(`The value of the config key '${key}' is different between the new and legacy config managers: `, { value, valueByLegacy });
+      }
     }
 
     return value;