bootstrap: print error when failed
Juan Batiz-Benet committed
Jan 12, 2015 at 19:09 UTC
0cb0f27b68948656d6925bf934fe50857411101a
1 file changed
+1
-1
core/bootstrap.go
+1
-1
@@ -117,7 +117,7 @@ func connect(ctx context.Context, ps peer.Peerstore, r *dht.IpfsDHT, peers []pee
117
err := r.Connect(ctx, p.ID)
118
if err != nil {
119
log.Event(ctx, "bootstrapFailed", p.ID)
120
- log.Criticalf("failed to bootstrap with %v", p.ID)
120
+ log.Criticalf("failed to bootstrap with %v: %s", p.ID, err)
121
return
122
}
123
log.Event(ctx, "bootstrapSuccess", p.ID)