Log when a .ghost file extension is added

This commit is contained in:
Oliver Hamlet
2025-01-05 11:08:18 +00:00
parent 32db24e1c8
commit 5cabe7ec3f
+4
View File
@@ -148,6 +148,10 @@ std::filesystem::path ResolvePluginPath(
// In case the plugin is ghosted.
if (!std::filesystem::exists(absolutePath)) {
const auto logger = loot::getLogger();
if (logger) {
logger->debug("Could not find plugin at {}, adding {} file extension", absolutePath.u8string(), loot::GHOST_FILE_EXTENSION);
}
absolutePath += loot::GHOST_FILE_EXTENSION;
}