From e6a24bd40d6badd47393ada0be5ae23b42406c92 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 31 May 2022 18:03:04 -0700 Subject: [PATCH] chore: log autorelay start failure error I got this error from go-ipfs (probably because I put my laptop to sleep?) but I couldn't get any details. --- p2p/host/autorelay/autorelay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/host/autorelay/autorelay.go b/p2p/host/autorelay/autorelay.go index bcf8432c8e..370ea22b4d 100644 --- a/p2p/host/autorelay/autorelay.go +++ b/p2p/host/autorelay/autorelay.go @@ -101,7 +101,7 @@ func (r *AutoRelay) background() { switch evt.Reachability { case network.ReachabilityPrivate, network.ReachabilityUnknown: if err := r.relayFinder.Start(); err != nil { - log.Error("failed to start relay finder") + log.Errorw("failed to start relay finder", "error", err) } case network.ReachabilityPublic: r.relayFinder.Stop()