mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 23:51:55 -07:00
configmgr: fix warning
This commit is contained in:
@@ -642,7 +642,7 @@ std::optional<std::string> CConfigManager::generateConfig(std::string configPath
|
|||||||
Debug::log(WARN, "Creating config home directory");
|
Debug::log(WARN, "Creating config home directory");
|
||||||
try {
|
try {
|
||||||
std::filesystem::create_directories(parentPath);
|
std::filesystem::create_directories(parentPath);
|
||||||
} catch (std::exception e) { throw e; }
|
} catch (std::exception& e) { throw e; }
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug::log(WARN, "No config file found; attempting to generate.");
|
Debug::log(WARN, "No config file found; attempting to generate.");
|
||||||
|
Reference in New Issue
Block a user