Browse Source

fixed tests

Greenback 4 năm trước cách đây
mục cha
commit
b34d6fec3d

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -314,7 +314,7 @@ namespace Emby.Server.Implementations
                 var networkSettings = new NetworkConfiguration();
                 var networkSettings = new NetworkConfiguration();
                 ClassMigrationHelper.CopyProperties(ServerConfigurationManager.Configuration, networkSettings);
                 ClassMigrationHelper.CopyProperties(ServerConfigurationManager.Configuration, networkSettings);
                 _xmlSerializer.SerializeToFile(networkSettings, path);
                 _xmlSerializer.SerializeToFile(networkSettings, path);
-                Logger.LogDebug("Successfully migrated network settings.");
+                Logger?.LogDebug("Successfully migrated network settings.");
             }
             }
         }
         }