feat add parse error info
Some checks failed
linux-x64-gcc / linux-gcc (Release) (push) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Has been cancelled
linux-arm-gcc / linux-gcc-armhf (push) Has been cancelled
linux-x64-gcc / linux-gcc (Debug) (push) Has been cancelled
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Has been cancelled
Some checks failed
linux-x64-gcc / linux-gcc (Release) (push) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Has been cancelled
linux-arm-gcc / linux-gcc-armhf (push) Has been cancelled
linux-x64-gcc / linux-gcc (Debug) (push) Has been cancelled
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Has been cancelled
This commit is contained in:
parent
ec8bbc8465
commit
7ac302c3d7
@ -53,6 +53,8 @@ Config::ReadInConfig()
|
||||
value = toml::parse(stream_data, "string");
|
||||
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());
|
||||
} catch (...) {
|
||||
LOGD("Failed to parse config file: {}", sled::to_string(full_path));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user