fix: clarify create path existence error [skip ci] (#559)
This commit is contained in:
parent
a8fa3a114e
commit
05524045f9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue