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

Handle lock-file error instead of panicking #9

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

VoltaireNoir
Copy link
Owner

This fixes #8

Summary

Old behavior: expect was called on places that would cause an error while acquiring lock, which would result in a panic with little information on how to deal with the problem directly.

New behavior: errors are handled and the user is presented with a simpler message with a tip telling the user to try manually remove the lock file to fix the error.
image

@VoltaireNoir VoltaireNoir self-assigned this Mar 10, 2024
@VoltaireNoir VoltaireNoir linked an issue Mar 10, 2024 that may be closed by this pull request
@VoltaireNoir VoltaireNoir merged commit 12701ff into main Mar 10, 2024
1 check passed
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.

Lock-file error-handling - suggest switch to graceful exit
1 participant