This commit is contained in:
2025-12-04 10:35:11 +08:00
parent b0e8974d6c
commit 68def7e08b
7 changed files with 184 additions and 154 deletions

View File

@@ -98,10 +98,7 @@ func (r *DatabaseTableReader) ReadTableFromDocumentation(ctx context.Context, do
tableData, err := r.parseMarkdownTable(content)
if err != nil {
r.logger.Error("解析markdown表格失败",
zap.String("field_type", fieldType),
zap.Error(err),
zap.String("content_preview", r.getContentPreview(content, 500)))
// 错误已返回,不记录日志
return nil, fmt.Errorf("解析markdown表格失败: %w", err)
}