maytasm commented on a change in pull request #12299:
URL: https://github.com/apache/druid/pull/12299#discussion_r819962177



##########
File path: 
server/src/main/java/org/apache/druid/server/initialization/jetty/JettyServerModule.java
##########
@@ -475,6 +478,25 @@ public void stop()
         Lifecycle.Stage.SERVER
     );
 
+    if (config.isDefaultJettyErrorResponseInJson()) {

Review comment:
       Nit: Create ErrorHandler (depending on how configs are set outside) of 
server.setErrorHandler to avoid repeating code. 




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to