Skip to content
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

Adding Exception Handling to python files #34

Open
Sai-ganesh-0004 opened this issue Oct 20, 2024 · 3 comments
Open

Adding Exception Handling to python files #34

Sai-ganesh-0004 opened this issue Oct 20, 2024 · 3 comments

Comments

@Sai-ganesh-0004
Copy link

Description
Implement structured exception handling across all Python files in the project. The goal is to improve the robustness of the code by catching and handling errors gracefully, providing meaningful error messages, and logging critical failures.

Key Areas

  • Global Error Handler: Add a global error handler to catch unhandled exceptions.
  • Specific Exception Handling: Implement specific exception handling for external API calls, file operations, and database connections.
  • Logging: Ensure all exceptions are logged with appropriate severity levels for easier debugging.
  • User-Friendly Messages: Provide clear, user-friendly error messages to avoid exposing technical details.
@Sai-ganesh-0004
Copy link
Author

I want to Work on this issue under gssoc-ext

@cro2003
Copy link
Owner

cro2003 commented Oct 20, 2024

Which types of Error we are considering here?

@Sai-ganesh-0004
Copy link
Author

there can be requests.ConnectionError or parsing and beautifulSoup Errors

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

No branches or pull requests

2 participants