Commit 7c7036e0 authored by Jeromy's avatar Jeromy

various fixes for /ipfs fuse code

License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent 57fbb422
......@@ -153,7 +153,10 @@ type sesGetter struct {
func (sg *sesGetter) Get(ctx context.Context, c *cid.Cid) (node.Node, error) {
blk, err := sg.bs.GetBlock(ctx, c)
if err != nil {
switch err {
case bserv.ErrNotFound:
return nil, ErrNotFound
default:
return nil, err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment