mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Log when a .ghost file extension is added
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user