revert some changes after the review

This commit is contained in:
kistlin
2022-01-17 06:53:14 +01:00
parent 174158233b
commit 81d23967b6
4 changed files with 6 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ void ConfigManager::load(json def, bool lock) {
file >> conf;
file.close();
}
catch (const std::exception& e) {
catch (std::exception e) {
spdlog::error("Config file '{0}' is corrupted, resetting it", path);
conf = def;
save(false);