Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Catch Exception from JSONDecodeError #127

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

miguelgf
Copy link

@miguelgf miguelgf commented Dec 16, 2020

Eventually, without too much reasoning, the JSON saved as cache on the local file get a double }}, if that happens, every call to the SDK will fail with a JSONDecodeError

image

This handles the JSON error inside the try/except so it will try to fetch the proper URL again

@miguelgf
Copy link
Author

How is the process of having this released? @manivinesh @sfdrogojan

Thanks

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

Successfully merging this pull request may close these issues.

3 participants