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.
This commit is contained in:
Steven Allen 2022-05-31 18:03:04 -07:00
parent 706d13becd
commit e6a24bd40d
1 changed files with 1 additions and 1 deletions

View File

@ -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()