From 1d8a57f3f15224b251a5162ffa123c52cfb8baf3 Mon Sep 17 00:00:00 2001 From: Jason Woods Date: Mon, 26 Feb 2024 13:27:03 +0000 Subject: [PATCH] feat: TLS handshake errors are now prefixed to show they originate from a handshake --- lc-lib/transports/tcp/connectionsockettls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lc-lib/transports/tcp/connectionsockettls.go b/lc-lib/transports/tcp/connectionsockettls.go index df345e24..bee09761 100644 --- a/lc-lib/transports/tcp/connectionsockettls.go +++ b/lc-lib/transports/tcp/connectionsockettls.go @@ -62,6 +62,7 @@ func (t *connectionSocketTLS) Setup(ctx context.Context) error { err := t.Handshake() if err != nil { + log.Warning("[%s %s - %s] TLS handshake failed: %w", side, t.LocalAddr().String(), t.RemoteAddr().String(), err) return err }