Permalink
Browse files

Unwrapped thrown exceptions

Developers were getting wrapped exceptions which were not very
distinguishable and required a lot of digging to pull out the base
exception which is the most relevant piece.
  • Loading branch information...
1 parent a61ee95 commit cfdd04c6ead31b74138e0ef3171cb887b054a3ac @NTaylorMullen NTaylorMullen committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SignalR.Client/Connection.cs
@@ -229,7 +229,7 @@ private Task Negotiate(IClientTransport transport)
if (task.IsFaulted)
{
Stop();
- tcs.SetException(task.Exception);
+ tcs.SetException(task.Exception.Unwrap());
}
else if (task.IsCanceled)
{

0 comments on commit cfdd04c

Please sign in to comment.