maytasm commented on a change in pull request #11711:
URL: https://github.com/apache/druid/pull/11711#discussion_r713778696
##########
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:
We don't need `enableErrorResponseTransform` as not setting
`errorResponseTransformStrategy` or setting `errorResponseTransformStrategy` to
`none` would be the same as current behavior (no-op) and leaving the error
response unchanged.
I renamed `sanitizeJettyErrorResponse` to `showDetailedJettyErrors` and flip
it
also renamed `sanitizeDruidErrorResponse` to `errorResponseTransformStrategy`
--
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]