diff --git a/shadowsocks-csharp/Controller/PolipoRunner.cs b/shadowsocks-csharp/Controller/PolipoRunner.cs index de1c3c3..a44e5ea 100755 --- a/shadowsocks-csharp/Controller/PolipoRunner.cs +++ b/shadowsocks-csharp/Controller/PolipoRunner.cs @@ -60,9 +60,9 @@ namespace Shadowsocks.Controller _process.Kill(); _process.WaitForExit(); } - catch (InvalidOperationException) + catch (Exception e) { - // do nothing + Console.WriteLine(e.ToString()); } _process = null; }