refactor(as-a-library): change comment with default path repo
lasiar committed
Jul 17, 2021 at 03:41 UTC
d00e9656acfc1c5b8e75245d9d90dd368f0212ab
1 file changed
+1
-1
docs/examples/go-ipfs-as-a-library/main.go
+1
-1
@@ -211,7 +211,7 @@ func main() {
211
fmt.Println("Spawning node on default repo")
212
ipfs, err := spawnDefault(ctx)
213
if err != nil {
214
- fmt.Println("No IPFS repo available on the default path")
214
+ panic(fmt.Errorf("failed to spawnDefault node: %s", err))
215
}
216
*/
217