evalai-cli icon indicating copy to clipboard operation
evalai-cli copied to clipboard

Added the exeptions and comments

Open DevMhrn opened this issue 1 year ago • 0 comments

Fix #363: Improve Exception Handling and User Feedback

Summary:

This PR addresses issue #363 by improving exception handling and user feedback mechanisms in the code.

Changes Done:

  • Added try-except blocks around key dictionary accesses to handle missing keys and avoid KeyError exceptions.
  • Provided user feedback with specific error messages when keys are missing, improving the overall user experience.
  • Added exception handling for potential errors when interacting with Docker and AWS to prevent unexpected crashes.
  • Utilized notify_user to display error messages, helping users understand what went wrong and how to address issues.

User Impact:

Users will have a smoother experience with the application because it won’t abruptly terminate due to unhandled exceptions. This ensures a more reliable and user-friendly interaction with the system.

Link to Issue:

Resolves #363

DevMhrn avatar Jul 28 '24 09:07 DevMhrn