evalai-cli
evalai-cli copied to clipboard
Added the exeptions and 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-exceptblocks around key dictionary accesses to handle missing keys and avoidKeyErrorexceptions. - 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_userto 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