Skip to content

Better check when API response is empty#411

Open
ilan-schemoul wants to merge 1 commit intojackMort:mainfrom
ilan-schemoul:api-check
Open

Better check when API response is empty#411
ilan-schemoul wants to merge 1 commit intojackMort:mainfrom
ilan-schemoul:api-check

Conversation

@ilan-schemoul
Copy link

Hello,
When the api returns no response (for example when no API key provided) the json.decode crashes saying "can't decode blank string". This PR fixes that.

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

Successfully merging this pull request may close these issues.

1 participant