fix: resolve plugins that are missing locally (physical file deleted) (#14861)

* fix: resolve plugins that are missing locally (physical file deleted)

* fix: don't treat file not found as an error
This commit is contained in:
Ian Chua
2026-07-31 14:15:51 +08:00
committed by GitHub
parent e01ac1f0a6
commit 101f43b2d8
5 changed files with 79 additions and 9 deletions

View File

@@ -120,8 +120,7 @@ bool delete_plugin_root(const boost::filesystem::path& resolved_root, const std:
}
if (removed_count == 0) {
error = "Plugin folder was not found: " + resolved_root.string();
return false;
return true;
}
BOOST_LOG_TRIVIAL(info) << "Deleted plugin: " << plugin_id << " from " << resolved_root.string();