From 26a1f2e4ad27401dee653c6f6036d54dcdbe82ac Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 3 Feb 2023 02:02:57 -0600 Subject: [PATCH] [ox/fs] Add error message to an error --- deps/ox/src/ox/fs/filestore/filestoretemplate.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp b/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp index a1d7202a..dcb834ad 100644 --- a/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp +++ b/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp @@ -319,7 +319,7 @@ Error FileStoreTemplate::read(InodeId_t id, void *out, FsSize_t outSize, // error check if (!src.valid()) { oxTracef("ox::fs::FileStoreTemplate::read::fail", "Could not find requested item: {}", id); - return OxError(1); + return OxError(1, "Could not find requested item"); } auto srcData = m_buffer->template dataOf(src);