[ 
https://issues.apache.org/jira/browse/CURATOR-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082512#comment-14082512
 ] 

Mike Drob commented on CURATOR-71:
----------------------------------

We can expand the scope of this issue to remove all of the instances of 
log-and-throw. Some rationale is available at 
https://today.java.net/article/2006/04/04/exception-handling-antipatterns#logAndThrow

> Error message in StandardLockInternalsDriver for retryable lock acquire error
> -----------------------------------------------------------------------------
>
>                 Key: CURATOR-71
>                 URL: https://issues.apache.org/jira/browse/CURATOR-71
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.1.0-incubating
>            Reporter: Vegard B. Havdal
>
> We occasionally get the error message "Sequential path not found..." from 
> StandardLockInternalDriver, but the subsequent NoNode exception is caught and 
> treated as normal in some cases in LockInternals. Ie. bogus error message in 
> our log.
> Consider removing the error log msg from StandardLockInternalDriver, not log 
> and throw.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to