From 4c96b2f0f4f356ad3f0daf7062e85e4a4de80052 Mon Sep 17 00:00:00 2001 From: ooninoob Date: Sun, 20 Nov 2022 21:04:57 +0100 Subject: [PATCH] Rebase on experiment --- internal/engine/experiment/smtp/smtp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/engine/experiment/smtp/smtp.go b/internal/engine/experiment/smtp/smtp.go index 568db04..d97446c 100644 --- a/internal/engine/experiment/smtp/smtp.go +++ b/internal/engine/experiment/smtp/smtp.go @@ -230,7 +230,7 @@ func (r *TCPRunner) resolve(host string) ([]string, bool) { addrs, err := resolver.LookupHost(r.ctx, host) r.tk.Queries = append(r.tk.Queries, r.trace.DNSLookupsFromRoundTrip()...) if err != nil { - r.tk.Failure = *tracex.NewFailure(err) + r.global_error(err) return []string{}, false } r.logger.Infof("Finished DNS for %s: %v", host, addrs)