FaceRec icon indicating copy to clipboard operation
FaceRec copied to clipboard

Exception handling for all python files for better Response

Open Sai-ganesh-0004 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

  • I'm always frustrated when exception handling in the Python files of the project is either missing or inconsistent. It makes debugging harder and can cause unexpected crashes during execution.

Describe the solution you'd like

  • I would like to see structured exception handling implemented across all Python files, with proper logging and user-friendly error messages. This would ensure that errors are gracefully handled and provide useful insights into what went wrong.

Describe alternatives you've considered

  • Implementing a global error handler at the application level to capture unhandled exceptions.

Additional context

  • Adding specific exception handling in key functions would improve the robustness of the code. This would be especially useful when dealing with external APIs, file operations, or database connections where errors are more likely to o

Sai-ganesh-0004 avatar Oct 16 '24 15:10 Sai-ganesh-0004

Hi @Sai-ganesh-0004 , really good issue, we would appreciate if you would like to take this up and structure the error handling. Have assigned the appropriate labels - let us know if you have any queries :)

devansh-shah-11 avatar Oct 16 '24 16:10 devansh-shah-11