fix: clarify create path existence error [skip ci] (#559)

This commit is contained in:
egolearner 2026-07-09 08:13:53 +08:00 committed by GitHub
parent a8fa3a114e
commit 05524045f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -1987,7 +1987,8 @@ Status CollectionImpl::create() {
}
if (ailego::FileHelper::IsExist(path_.c_str())) {
return Status::InvalidArgument("path validate failed: path[", path_,
"] exists");
"] exists, create expects a path that does "
"not exist");
}
// check schema