diff --git a/eden/fs/inodes/TreeInode.cpp b/eden/fs/inodes/TreeInode.cpp index f5ee2439cd70d..0133c9736617d 100644 --- a/eden/fs/inodes/TreeInode.cpp +++ b/eden/fs/inodes/TreeInode.cpp @@ -4707,7 +4707,7 @@ void TreeInode::doPrefetch( load.finish(); } - return collectAll(std::move(inodeFutures)) + return collectAllSafe(std::move(inodeFutures)) .thenTry([lease = std::move(lease)](auto&&) { XLOG(DBG4) << "finished prefetch for " << lease.getTreeInode()->getLogPath();