Skip to content

Do not fail on non-json error message#4

Open
gazben wants to merge 1 commit intoalgorithmiaio:masterfrom
apicore-engineering:patch-1
Open

Do not fail on non-json error message#4
gazben wants to merge 1 commit intoalgorithmiaio:masterfrom
apicore-engineering:patch-1

Conversation

@gazben
Copy link

@gazben gazben commented Sep 24, 2020

If the API returns 400 the error message is not a JSON object so the parsing will fail. We have to check for a valid JSON.

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