improve error in fuse node failures

This commit is contained in:
Will Scott 2023-08-25 14:51:47 +02:00 committed by Adin Schmahmann
parent 16859b3c70
commit 86bde2894f

View File

@ -104,7 +104,7 @@ func (s *Root) Lookup(ctx context.Context, name string) (fs.Node, error) {
return nil, syscall.Errno(syscall.ENOTSUP)
}
if err != nil {
log.Error("could not convert protobuf or raw node")
log.Errorf("could not convert protobuf or raw node: %s", err)
return nil, syscall.Errno(syscall.ENOENT)
}