Skip to content

Exceptions are irrecoverable when using get_resource(..., iterate=True) #11

@bmwilly

Description

@bmwilly

Since item_iterator returns an empty iterator when an exception is encountered, there is no way to recover the HTTP error that was raised:
image

This behavior is confusing and makes code difficult to debug. I think in this case, item_iterator should just raise the exception that occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions