Skip to content

Commit

Permalink
pass the internal exception to the constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarry authored Jun 23, 2021
1 parent a0d87f8 commit 74da0cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private InternalConnection CreateConnection(Socket socket, CancellationToken tok

if (ex is SocketException || ex is TimeoutException)
{
throw new AseException($"There is no server listening at {_parameters.Server}:{_parameters.Port}.", 30294);
throw new AseException($"There is no server listening at {_parameters.Server}:{_parameters.Port}.", 30294, ex);
}

if (ex is AuthenticationException)
Expand Down

0 comments on commit 74da0cc

Please sign in to comment.