From dbc14a4dd38ab0cce086f8a96ff156e90bc8fb90 Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Sun, 29 Jan 2023 10:45:11 +0000 Subject: [PATCH] fix for test --- lightning.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning.go b/lightning.go index 22ae25a..a67169d 100644 --- a/lightning.go +++ b/lightning.go @@ -63,7 +63,7 @@ func getGrpcConn(hostname string, port int, tlsFile, macaroonFile string) *grpc. grpc.WithPerRPCCredentials(newCreds(macaroonBytes)), }...) if err != nil { - log.Printf("unable to connect to %s: %w", fullHostname, err) + log.Printf("unable to connect to %s", fullHostname) panic(err) }