Closed emil2k closed 8 years ago
why are there empty JSON files in the first place?
Not sure, but this will improve our logs and handle the case properly. Let's deploy this to confirm that this is the issue and then we can look into why we are getting empty JSON files.
K, LGTM deploy it, can you file the follow-up issue on yourself?
Can you merge this? I don't have access to merge it in.
This is related to srclib import failing with io.EOF errors while reading a JSON file. An io.EOF file is thrown by the JSON decoder if it is passed a io.Reader that immediately sends an io.EOF ( i.e. an empty file ).
@beyang