configmgr: fix warning

This commit is contained in:
Vaxry 2024-07-27 18:15:47 +02:00
parent 141cd09bd3
commit ae638d997d

View file

@ -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.");