feat add parse error info
All checks were successful
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 1m32s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m34s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m44s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 1m56s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m5s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m41s

This commit is contained in:
tqcq 2024-04-11 07:04:29 +00:00
parent 7ac302c3d7
commit 3d879800b2

View File

@ -54,7 +54,7 @@ Config::ReadInConfig()
return true;
// goto config_read_success;
} catch (const std::exception &e) {
LOGE("Failed to parse config file: {}, reason: e", sled::to_string(full_path), e.what());
LOGE("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));
}