fix: Add IPFS & IPNS path details to error (re. #10762) (#10770)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled

This commit is contained in:
Michael Vorburger 2025-04-01 16:28:12 +02:00 committed by GitHub
parent ef7cc60a5b
commit fd50eb0fc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,11 +89,11 @@ func doMount(node *core.IpfsNode, fsdir, nsdir string) error {
wg.Wait()
if err1 != nil {
log.Errorf("error mounting: %s", err1)
log.Errorf("error mounting IPFS %s: %s", fsdir, err1)
}
if err2 != nil {
log.Errorf("error mounting: %s", err2)
log.Errorf("error mounting IPNS %s for IPFS %s: %s", nsdir, fsdir, err2)
}
if err1 != nil || err2 != nil {