mirror of
https://gitee.com/openharmony/communication_netstack
synced 2024-11-23 15:00:25 +00:00
update utils/common_utils/src/netstack_common_utils.cpp.
增加日志信息 Signed-off-by: mayongzhi <mayongzhi@h-partners.com>
This commit is contained in:
parent
999249576d
commit
917b966674
@ -472,7 +472,7 @@ std::string GetFileDataFromFilePath(const std::string& filePath)
|
||||
std::error_code error;
|
||||
auto path = std::filesystem::absolute(filePath, error);
|
||||
if (error) {
|
||||
NETSTACK_LOGE("Failed to obtain the absolute path");
|
||||
NETSTACK_LOGE("Failed to obtain the absolute path: %{public}s", error.message().c_str());
|
||||
return false;
|
||||
}
|
||||
std::ifstream file(path);
|
||||
|
Loading…
Reference in New Issue
Block a user