mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-09 23:00:57 -05:00
Redid the logging system
This commit is contained in:
@ -53,9 +53,8 @@ namespace IW4MAdmin
|
||||
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("Unable to start webservice ( port is probably in use ): " + e.Message);
|
||||
Thread.Sleep(5000);
|
||||
Environment.Exit(-1);
|
||||
Manager.GetInstance().Logger.WriteError($"Unable to start webservice ( port is probably in use ): {e.Message}");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user