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

Added error handling for missing files #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NyshG13
Copy link
Contributor

@NyshG13 NyshG13 commented Dec 17, 2024

Closes #1

Type of Change
Put x inside the square bracket to specify what type of change your PR is:

  • New Feature
  • Bug Fix
  • Code Refactor
  • Documentation Update
  • Other (please specify):

Description of change:
it shows a user-friendly error message if the file is missing.

Implementation of Change:
Modified the 'load_password_file' method by adding a try-except block to handle the File Not Found Error or any other generic errors and display user-friendly messages.

Demo:
Screenshot of the new code:
Screenshot 2024-12-17 171124

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

Successfully merging this pull request may close these issues.

Improve error handling for missing password files
1 participant