Skip to content

Commit

Permalink
Merge pull request #1583 from libp2p/steb/log-error
Browse files Browse the repository at this point in the history
chore: log autorelay start failure error
  • Loading branch information
Stebalien authored Jun 1, 2022
2 parents 706d13b + e6a24bd commit a781314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/host/autorelay/autorelay.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a781314

Please sign in to comment.