Skip to content

ignore ValueErrors which happen on empty response#110

Open
ghost wants to merge 1 commit intomasterfrom
unknown repository
Open

ignore ValueErrors which happen on empty response#110
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Oct 13, 2018

For some requests Google seems to send us a totally empty response instead of {"result":[]}, cf. issue #109.

To me, it is not totally clear when exactly we get which response between and {"result":[]}, but I think we should just handle them the same (ignore) and continue processing the file.

This was the behavior before October, 10th when the exception was changed to include only IndexError.

JackieDo added a commit to JackieDo/Gensub that referenced this pull request Dec 30, 2018
Resolved issue [agermanidis#120] with same solution as pull request [agermanidis#110]
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.

0 participants