From 0cb0f27b68948656d6925bf934fe50857411101a Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Mon, 12 Jan 2015 19:09:38 -0800 Subject: [PATCH] bootstrap: print error when failed --- core/bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bootstrap.go b/core/bootstrap.go index b2f8a59a2..a6cbfbbb4 100644 --- a/core/bootstrap.go +++ b/core/bootstrap.go @@ -117,7 +117,7 @@ func connect(ctx context.Context, ps peer.Peerstore, r *dht.IpfsDHT, peers []pee err := r.Connect(ctx, p.ID) if err != nil { log.Event(ctx, "bootstrapFailed", p.ID) - log.Criticalf("failed to bootstrap with %v", p.ID) + log.Criticalf("failed to bootstrap with %v: %s", p.ID, err) return } log.Event(ctx, "bootstrapSuccess", p.ID)