mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-09 23:00:57 -05:00
small change to detemine valid anticheat log lines
fix new configuration generation bug as result of last pr
This commit is contained in:
@ -25,6 +25,12 @@ namespace SharedLibraryCore.Configuration
|
||||
var configContent = File.ReadAllText(_configurationPath);
|
||||
_configuration = JsonConvert.DeserializeObject<T>(configContent);
|
||||
}
|
||||
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
_configuration = default;
|
||||
}
|
||||
|
||||
catch (Exception e)
|
||||
{
|
||||
throw new ConfigurationException("MANAGER_CONFIGURATION_ERROR")
|
||||
|
Reference in New Issue
Block a user