From c80dca4a59306b80768b80de509c81c2fed55f1e Mon Sep 17 00:00:00 2001 From: ooninoob Date: Sun, 20 Nov 2022 16:22:00 +0100 Subject: [PATCH] Failure only for top level failure --- internal/engine/experiment/smtp/smtp.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/engine/experiment/smtp/smtp.go b/internal/engine/experiment/smtp/smtp.go index 453807f..671dd16 100644 --- a/internal/engine/experiment/smtp/smtp.go +++ b/internal/engine/experiment/smtp/smtp.go @@ -144,7 +144,6 @@ func (r SMTPRunner) conn(addr string, port string) (net.Conn, bool) { conn, err := dialer.DialContext(r.ctx, "tcp", net.JoinHostPort(addr, port)) r.tk.TCPConnect = append(r.tk.TCPConnect, r.trace.TCPConnects()...) if err != nil { - r.tk.Failure = *tracex.NewFailure(err) return nil, false } return conn, true