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



##########
File path: 
server/src/main/java/org/apache/druid/server/initialization/ServerConfig.java
##########
@@ -61,7 +63,9 @@ public ServerConfig(
       int inflateBufferSize,
       int compressionLevel,
       boolean enableForwardedRequestCustomizer,
-      @NotNull List<String> allowedHttpMethods
+      @NotNull List<String> allowedHttpMethods,
+      boolean sanitizeJettyErrorResponse,

Review comment:
       Actually it should be `errorResponseTransform` not 
`errorResponseTransformStrategy` for the @JsonProperty
   so that the configs look something like
   ```
   druid.server.http.showDetailedJettyErrors=false
   druid.server.http.errorResponseTransform.strategy=allowedRegex
   druid.server.http.errorResponseTransform.allowedRegex=["asd"]
   ```




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