dlmarion commented on PR #5808:
URL: https://github.com/apache/accumulo/pull/5808#issuecomment-3201413085

   > Not completely sure, but linking them may be useful because then the 
uncaught ecxception handler will see an error was thrown.
   
     Not sure if that matters in this case because if the runServer throws 
anything then the lock watcher is going to call halt and if close throws 
anything it's going to end the application anyway.
   
   > Catching throwable would log the error, it just would not percolate out of 
the main method. Using try w/ resources it does percolate out of the main 
method, but then it does not log. Maybe need to do both?
   
   FYI that I was printing to stderr and logging. With asynchronous logging in 
log4j2 there is no guarantee that the logging will be flushed before the JVM is 
halted.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to