diff --git a/filestore/fsrefstore.go b/filestore/fsrefstore.go index f1db5b6a8d3..46b385067a5 100644 --- a/filestore/fsrefstore.go +++ b/filestore/fsrefstore.go @@ -211,7 +211,7 @@ func (f *FileManager) putTo(b *posinfo.FilestoreNode, to putter) error { var dobj pb.DataObj if !filepath.HasPrefix(b.PosInfo.FullPath, f.root) { - return fmt.Errorf("cannot add filestore references outside ipfs root") + return fmt.Errorf("cannot add filestore references outside ipfs root (%s)", f.root) } p, err := filepath.Rel(f.root, b.PosInfo.FullPath)