summaryrefslogtreecommitdiff
path: root/acme.go
diff options
context:
space:
mode:
Diffstat (limited to 'acme.go')
-rw-r--r--acme.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/acme.go b/acme.go
index bbde2e9..5ec4ca8 100644
--- a/acme.go
+++ b/acme.go
@@ -17,7 +17,6 @@ package main
import (
"context"
"crypto/tls"
- "fmt"
"net"
"time"
)
@@ -65,11 +64,6 @@ func tryAcme(ctx context.Context, ch chan string, backend, hostname string) {
var res string
var err error
defer func() { ch <- res }()
- defer func() {
- if err != nil {
- fmt.Println(err)
- }
- }()
dialer := net.Dialer{Timeout: 10 * time.Second}
conn, err := dialer.DialContext(ctx, "tcp", backend)