start pac server even when local failed to start

This commit is contained in:
clowwindy
2014-11-16 13:18:13 +08:00
parent f968870414
commit 59976979bd
@@ -41,13 +41,20 @@ namespace Shadowsocks.Controller
try
{
local.Start();
}
catch (Exception e)
{
Console.WriteLine(e);
}
try
{
pacServer = new PACServer();
pacServer.PACFileChanged += pacServer_PACFileChanged;
pacServer.Start(_config);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e);
}
UpdateSystemProxy();