fix log for config
All checks were successful
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 1m30s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m41s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 1m46s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 1m51s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m0s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m2s

This commit is contained in:
tqcq 2024-04-11 07:07:27 +00:00
parent 3d879800b2
commit 028deddf66

View File

@ -54,9 +54,12 @@ Config::ReadInConfig()
return true;
// goto config_read_success;
} catch (const std::exception &e) {
LOGE("Failed to parse config file: {}, reason: {}", sled::to_string(full_path), e.what());
LOGE("sled::Config",
"Failed to parse config file: {}, reason: {}",
sled::to_string(full_path),
e.what());
} catch (...) {
LOGD("Failed to parse config file: {}", sled::to_string(full_path));
LOGD("sled::Config", "Failed to parse config file: {}", sled::to_string(full_path));
}
}
return false;