This is an automated email from the ASF dual-hosted git repository.
tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton-dotnet.git
The following commit(s) were added to refs/heads/main by this push:
new 62c4097 PROTON-2729 Ensure that a connect failed error message has
details
62c4097 is described below
commit 62c409728edf2200087fe4e5edba672169b2d6ca
Author: Timothy Bish <[email protected]>
AuthorDate: Tue May 9 13:51:01 2023 -0400
PROTON-2729 Ensure that a connect failed error message has details
Log using the configured remote host and port and not the resulting
resolved Endpoint which isn't populated if the channel has been fully
connected.
---
src/Proton.Client/Client/Implementation/ClientTransportProxy.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Proton.Client/Client/Implementation/ClientTransportProxy.cs
b/src/Proton.Client/Client/Implementation/ClientTransportProxy.cs
index f123424..ddde389 100644
--- a/src/Proton.Client/Client/Implementation/ClientTransportProxy.cs
+++ b/src/Proton.Client/Client/Implementation/ClientTransportProxy.cs
@@ -68,7 +68,7 @@ namespace Apache.Qpid.Proton.Client.Implementation
{
LOG.Debug("Transport reports connect attempt failed: {0}",
transport);
engine.EngineFailed(
- new IOException(string.Format("Connection to remote {0}
failed.", transport.EndPoint)));
+ new IOException(string.Format("Connection to remote {0}:{1}
failed.", transport.Host, transport.Port)));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]