From 05524045f9c5834174bc02829274d68f0e861938 Mon Sep 17 00:00:00 2001 From: egolearner Date: Thu, 9 Jul 2026 08:13:53 +0800 Subject: [PATCH] fix: clarify create path existence error [skip ci] (#559) --- src/db/collection.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db/collection.cc b/src/db/collection.cc index 14cb2f4..a2008f0 100644 --- a/src/db/collection.cc +++ b/src/db/collection.cc @@ -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