检视意见修复

Signed-off-by: luyangyang <1049603119@qq.com>
This commit is contained in:
luyangyang 2024-08-17 15:42:42 +08:00
parent 176a77bb24
commit 381081f981

View File

@ -48,7 +48,8 @@ void RdbFaultHiViewReporter::ReportRdbCorruptedFault(RdbCorruptedEvent &eventInf
} else {
appendInfo = appendInfo + " \n GetWalFileStatInfoFailed ! \n";
}
LOG_ERROR("storeName: %{public}s, appendInfo : %{public}s.", storeName, appendInfo.c_str());
LOG_ERROR("storeName: %{public}s, errorCode: %{public}d, appendInfo : %{public}s.", storeName, eventInfo.errorCode,
appendInfo.c_str());
char *errorOccurTime = GetDateInfo(eventInfo.errorOccurTime).data();
HiSysEventParam params[] = {
{ .name = "BUNDLE_NAME", .t = HISYSEVENT_STRING, .v = { .s = bundleName }, .arraySize = 0 },