[log](load) print reason when LoadPathMgr failed to delete file (#38235) (#38340)

backport #38235
This commit is contained in:
Kaijie Chen
2024-07-25 17:28:09 +08:00
committed by GitHub
parent 3d6689d32c
commit 54787f51c7

View File

@ -174,7 +174,7 @@ void LoadPathMgr::process_path(time_t now, const std::string& path, int64_t rese
if (status.ok()) {
LOG(INFO) << "Remove path success. path=" << path;
} else {
LOG(WARNING) << "Remove path failed. path=" << path;
LOG(WARNING) << "Remove path failed. path=" << path << ", error=" << status;
}
}