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

Improve error handling for missing password files #1

Open
fillingtothemomo opened this issue Dec 7, 2024 · 1 comment · May be fixed by #96
Open

Improve error handling for missing password files #1

fillingtothemomo opened this issue Dec 7, 2024 · 1 comment · May be fixed by #96
Labels

Comments

@fillingtothemomo
Copy link
Collaborator

Currently, if a password file is missing when loading it, the program throws an error. Add error handling to display a user-friendly message when a file doesn't exist.

@Akshat1276
Copy link

Good Evening
As Aditya hasn't raised a new PR. I will take up this issue and try to resolve it.
Thank you

stutijain2006 added a commit to stutijain2006/PwManager that referenced this issue Dec 16, 2024
Added a specific `except FileNotFoundError` block to catch missing files.
- Added a generic `except Exception` block to handle any unexpected errors and provide a meaningful error message.
- The program now continues running smoothly and provides helpful feedback when a user attempts to load a non-existent password file.

This improves the robustness of the program, ensuring a smoother user experience by preventing crashes due to missing files.
@NyshG13 NyshG13 linked a pull request Dec 17, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants