mshumer / gpt-investor

MIT License
2.24k stars 284 forks source link

Error Handling #11

Open Aryan1718 opened 6 months ago

Aryan1718 commented 6 months ago

I added error handling to the get_claude_comps_analysis() function. The try-except block catches any potential errors during the execution of the function, such as connection issues or unexpected exceptions, ensuring the script gracefully handles errors and returns None if the analysis cannot be completed successfully.