Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass error handler to PageIterator? #300

Closed
cenkalti opened this issue Jun 20, 2024 · 0 comments · Fixed by #309
Closed

How to pass error handler to PageIterator? #300

cenkalti opened this issue Jun 20, 2024 · 0 comments · Fixed by #309
Assignees

Comments

@cenkalti
Copy link

graphResponse, err = pI.reqAdapter.Send(context, requestInfo, pI.constructorFunc, nil)

The Adapter.Send() is called with a nil error handler mapping (last parameter). This makes it hard to see actual errors when using PageIterator.

Do you think it makes sense to add a new field or argument to PageIterator for the error mapping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants