ZihanLi58 commented on code in PR #3862:
URL: https://github.com/apache/gobblin/pull/3862#discussion_r1458164630


##########
gobblin-utility/src/main/java/org/apache/gobblin/util/LoggingUncaughtExceptionHandler.java:
##########
@@ -42,6 +45,7 @@ public LoggingUncaughtExceptionHandler(Optional<Logger> 
logger) {
 
   @Override
   public void uncaughtException(Thread t, Throwable e) {
+    exception = e;

Review Comment:
   it's being used in get method for the main thread to determine whether there 
is an exception in this thread: 
https://github.com/apache/gobblin/pull/3862/files#diff-5486722712e94a92c9e9129f7b3768c87cd7c3f3cf08613c24b9a5fd4131e6ebR163



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