mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-25 16:53:25 +03:00
configmgr: fix warning
This commit is contained in:
parent
141cd09bd3
commit
ae638d997d
@ -642,7 +642,7 @@ std::optional<std::string> CConfigManager::generateConfig(std::string configPath
|
||||
Debug::log(WARN, "Creating config home directory");
|
||||
try {
|
||||
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.");
|
||||
|
Loading…
Reference in New Issue
Block a user