未验证 提交 61c2f29a 编写于 作者: Y yah01 提交者: GitHub

Fix miss to throw exception when failed to create dir (#21886)

Signed-off-by: Nyah01 <yang.cen@zilliz.com>
上级 d329cf33
......@@ -170,7 +170,7 @@ LocalChunkManager::CreateDir(const std::string& dir) {
boost::filesystem::path dirPath(dir);
auto create_success = boost::filesystem::create_directories(dirPath);
if (!create_success) {
CreateFileException("create dir failed" + dir);
throw CreateFileException("create dir failed" + dir);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册