diff --git a/weed/server/filer_grpc_server_remote.go b/weed/server/filer_grpc_server_remote.go index 6d77e310a..8049f4f46 100644 --- a/weed/server/filer_grpc_server_remote.go +++ b/weed/server/filer_grpc_server_remote.go @@ -148,6 +148,10 @@ func (fs *FilerServer) DownloadToLocal(ctx context.Context, req *filer_pb.Downlo }) } + if fetchAndWriteErr != nil { + return nil, fetchAndWriteErr + } + garbage := entry.Chunks newEntry := entry.ShallowClone()