We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2cb531 commit 56dd893Copy full SHA for 56dd893
1 file changed
iterator.go
@@ -2851,7 +2851,10 @@ func (i *Iterator) SetOptions(o *IterOptions) {
2851
// Iterators created through NewExternalIter have a different iterator
2852
// initialization process.
2853
if i.externalIter != nil {
2854
- _ = finishInitializingExternal(i.ctx, i)
+ if err := finishInitializingExternal(i.ctx, i); err != nil {
2855
+ // TODO(radu): propagate the error instead.
2856
+ panic(err)
2857
+ }
2858
return
2859
}
2860
finishInitializingIter(i.ctx, i.alloc)
0 commit comments