Re: #27, this PR catches PaginationError such that the iterator doesn't fail if botocore returns the same nextToken twice.
I considered adding a log entry for this case, but I'd like to get logging ettiquette right since this is a library, and that seems outside the scope of the issue here.
Coverage remained the same at 100.0% when pulling c63e4a8b3e5a724705a105a873bc585e93fef667 on paginate-errors into 6b32a22ffc15da44fe93faa6b2960ced1acccdc1 on master.
Re: #27, this PR catches
PaginationError
such that the iterator doesn't fail if botocore returns the samenextToken
twice.I considered adding a log entry for this case, but I'd like to get logging ettiquette right since this is a library, and that seems outside the scope of the issue here.