Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pre-PR Checklist
Summary
Closes #173
This PR has added try-except block for the JSON loaders in all the files except for the files in
testsfolder.Bug / Issue
Issue - #173
There were couple of JSON objects parsed without any validation. This can crash the system when the response received from the APIs or the file that has been loaded is either not a JSON or corrupted.
Implementation
Added try-except blocks across files, except in the
testsfolder. It can be updated, if it's required by the maintainersTesting
Pytest Coverage Report