umustafi commented on code in PR #3823:
URL: https://github.com/apache/gobblin/pull/3823#discussion_r1391794351


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java:
##########
@@ -484,7 +484,9 @@ public synchronized void setActive(boolean active) {
           log.error("Exception encountered when shutting down DagManager 
threads.", e);
         }
       }
-    } catch (IOException e) {
+    } catch (Throwable e) {

Review Comment:
   Catching and throwing the exception will fall the service health check so 
the service deploy/startup will fail if we encounter NPE. Previously it would 
silently fail initialization is the issue. 



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