Skip to content

Commit

Permalink
feat: TLS handshake errors are now prefixed to show they originate fr…
Browse files Browse the repository at this point in the history
…om a handshake
  • Loading branch information
driskell committed Feb 26, 2024
1 parent 7d20247 commit 1d8a57f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lc-lib/transports/tcp/connectionsockettls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 1d8a57f

Please sign in to comment.