Skip to content

Commit 09b1180

Browse files
authored
table iterator: Pass in the logger to recovery (#898)
This will allow the recovery handler to log stacktraces during panics
1 parent 316067a commit 09b1180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

table.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ func (t *Table) Iterator(
885885
}
886886
}
887887
}
888-
}))
888+
}, t.logger))
889889
}
890890

891891
errg.Go(func() error {
@@ -1007,7 +1007,7 @@ func (t *Table) SchemaIterator(
10071007
}
10081008
}
10091009
}
1010-
}))
1010+
}, t.logger))
10111011
}
10121012

10131013
errg.Go(func() error {

0 commit comments

Comments
 (0)