Skip to content

Commit d90533a

Browse files
authored
Update itemcursor current error when GetItemsSync returns an error (#92)
1 parent 0099411 commit d90533a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/dataplane/itemscursor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ func (ic *ItemsCursor) NextItemSync() (Item, error) {
7878
// invoke get items
7979
newResponse, err := ic.container.GetItemsSync(ic.getItemsInput)
8080
if err != nil {
81+
ic.currentError = err
8182
return nil, err
8283
}
8384

0 commit comments

Comments
 (0)