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

JsonDecodeError Exception #6

Open
NeilGerring opened this issue Jun 2, 2021 · 0 comments
Open

JsonDecodeError Exception #6

NeilGerring opened this issue Jun 2, 2021 · 0 comments
Assignees

Comments

@NeilGerring
Copy link

If you've got simplejson installed as a python package, the requests package will throw a simplejson.JSONDecodeError exception instead of json.decoder.JSONDecodeError which is currently caught so that the ppa_api can raise different exceptions.

It would be nice if the ppa_api could handle both until the requests package changes this.
See issues: psf/requests#4842 and psf/requests#5794

@tomguyatt tomguyatt self-assigned this Feb 24, 2023
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

No branches or pull requests

2 participants