dlmarion commented on code in PR #5609:
URL: https://github.com/apache/accumulo/pull/5609#discussion_r2122074609


##########
server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java:
##########
@@ -181,26 +180,15 @@ public AtomicBoolean getShutdownComplete() {
    * </pre>
    */
   public void runServer() throws Exception {
-    final AtomicReference<Throwable> err = new AtomicReference<>();
     serverThread = new Thread(TraceUtil.wrap(this), applicationName);
-    serverThread.setUncaughtExceptionHandler((thread, exception) -> 
err.set(exception));
+    serverThread.setUncaughtExceptionHandler(Threads.UEH);

Review Comment:
   Actually, I take that back. By not raising the Exception, the process will 
exit with a status code of `0`.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to