diff --git a/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp b/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp index f2bcdd2f..be04f6d6 100644 --- a/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp +++ b/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp @@ -102,7 +102,7 @@ Result PassThroughFS::statPath(CRStringView path) const noexcept { const uint64_t size = type == FileType::Directory ? 0 : std::filesystem::file_size(p, ec); oxTracef("ox::fs::PassThroughFS::statInode", "{} {}", ec.message(), path); oxTracef("ox::fs::PassThroughFS::statInode::size", "{} {}", path, size); - oxReturnError(OxError(ec.value())); + oxReturnError(OxError(ec.value(), "PassThroughFS: stat failed")); return FileStat{0, 0, size, type}; }