This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user