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


##########
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:
   I think change is might have better handling for `Error` than what is used 
at 
https://github.com/apache/accumulo/blob/2ecf4f69419570a060a1ba191ab0a0a00002fef9/start/src/main/java/org/apache/accumulo/start/Main.java#L157-L170



-- 
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