dotpot / InAppPy

Python In-app purchase validator for Apple AppStore and GooglePlay.
MIT License
207 stars 50 forks source link

ex.raw_response throws exception when apple server is unavailable #46

Closed ssuchanowski closed 5 years ago

ssuchanowski commented 5 years ago

Happen to me a couple of weeks ago, request returned 503 code.

Exception:

AttributeError: 'InAppPyValidationError' object has no attribute 'raw_response'

I think just fixing docs to do a None type check before accessing should be sufficient here.

I just want to share this info as apple's in-app purchase servers have a tendency to go south from time to time.

dotpot commented 5 years ago

fixed with #51