mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 06:27:19 +01:00
Remove bad config exception filtering
This commit is contained in:
@@ -166,7 +166,7 @@ namespace TGS.Server
|
||||
{
|
||||
Config = ServerConfig.Load(DefaultConfigDirectory);
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
catch
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -174,7 +174,7 @@ namespace TGS.Server
|
||||
Config = ServerConfig.Load(MigrationConfigDirectory);
|
||||
Directory.Delete(MigrationConfigDirectory, true);
|
||||
}
|
||||
catch(FileNotFoundException)
|
||||
catch
|
||||
{
|
||||
//new baby
|
||||
Config = new ServerConfig();
|
||||
|
||||
Reference in New Issue
Block a user