-
Notifications
You must be signed in to change notification settings - Fork 514
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
Trigger exeption if is locked ?! #1556
Comments
I implemented in this commit 33fe767 Explaining, I need to detect whether the lock exists or not, to perform another action. One of the ways I found it would be to throw an exception if it is locked. |
You can use this https://github.com/lukas-krecan/ShedLock#customization |
I think it would be nice to update this example, with this exception case to make it clearer, mainly because it is a little counterintuitive, because it uses inverted logic. |
about the pull request, I would just like you to see the latest comments. |
Is it possible to configure to throw an exception if is locked?
The text was updated successfully, but these errors were encountered: