Exceptions in Connect() not bubbled to caller
Closed this issue · 1 comments
Spksh commented
If the underlying TcpClient throws an exception (due to host not resolvable or host not responding, for example), WaitForMessage task continues and no error is passed back to the caller.
Spksh commented
Fixed in 1.0.1.
Now checking state of antecedent task in WaitForMessage and throwing appropriately. Also changed Console.WriteLine to Trace.WriteLine for exposing exceptions inside message loop.