diff --git a/YAMDCC.Service/FanControlService.cs b/YAMDCC.Service/FanControlService.cs index d9c3f23..2008e9e 100644 --- a/YAMDCC.Service/FanControlService.cs +++ b/YAMDCC.Service/FanControlService.cs @@ -298,18 +298,18 @@ private void LoadConf() { if (ex is InvalidConfigException or InvalidOperationException) { - ConfigLoaded = false; Log.Error(Strings.GetString("cfgInvalid")); } else if (ex is FileNotFoundException) { Log.Warn(Strings.GetString("cfgNotFound")); - ConfigLoaded = false; } else { throw; } + ConfigLoaded = false; + return; } if (Config.Template)