Skip to content

Commit

Permalink
Unwrapped thrown exceptions
Browse files Browse the repository at this point in the history
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
NTaylorMullen committed Aug 7, 2012
1 parent a61ee95 commit cfdd04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SignalR.Client/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit cfdd04c

Please sign in to comment.