This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ func (b *TableBuilder) Build() {
|
||||
|
||||
for i, dat := range b.rows {
|
||||
if len(dat.cells) != columnCount {
|
||||
builder.FPDF().SetError(exerr.New(exerr.TypeInternal, "data must have the same length as header").Int("idx", i).Build())
|
||||
builder.FPDF().SetError(exerr.New(exerr.TypeInternal, "data must have the same length as header").Int("idx", i).Any("cells", dat.cells).Any("colWidths", b.columnWidths).Build())
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user