-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readAndParseFile add error handling #24
Comments
Sorry, will need a bit more info before we can look into this. It would be great if you could provide it in the following format: Describe the bug To Reproduce Expected behavior System information:
Additional context |
I am on holiday so do not have access to the exact error. But sometimes when I run this code it will crash with an error about content not being json. this is odd because all of the files in the dataset folder were created using this library, so they should be json. The dataset has 22000 records. I am running on windows 10. This only happens when I set the offset and limit parameters. if they are set to 0 then works every time.
My request is you add try/catch to the _readAndParseFile function when converting to json and add to the exception message the exact file or full path to the file that failed. Thank
looks like you already are doing it here:
|
I am getting error about Json not in correct format.
Please add error handle and include path to bad file.
The text was updated successfully, but these errors were encountered: