From 8e5197a53be5e825044a777a5f6e2135ca2c682a Mon Sep 17 00:00:00 2001 From: starlord Date: Wed, 18 Sep 2019 16:41:42 +0800 Subject: [PATCH] add log for table file miss issue Former-commit-id: 641bc002a5f760e9bd804c99897d0c6c84f07919 --- cpp/src/db/Utils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/src/db/Utils.cpp b/cpp/src/db/Utils.cpp index cbed4c66..26f93563 100644 --- a/cpp/src/db/Utils.cpp +++ b/cpp/src/db/Utils.cpp @@ -148,7 +148,9 @@ Status GetTableFilePath(const DBMetaOptions& options, meta::TableFileSchema& tab } std::string msg = "Table file doesn't exist: " + file_path; - ENGINE_LOG_ERROR << msg; + ENGINE_LOG_ERROR << msg << " in path: " << options.path + << " for table: " << table_file.table_id_; + return Status(DB_ERROR, msg); } -- GitLab