vivek807 commented on code in PR #16672:
URL: https://github.com/apache/druid/pull/16672#discussion_r1728932757


##########
server/src/main/java/org/apache/druid/server/QueryResultPusher.java:
##########
@@ -223,6 +242,10 @@ private Response handleDruidException(ResultsWriter 
resultsWriter, DruidExceptio
         // also throwing the exception body into the response to make it 
easier for the client to choke if it manages
         // to parse a meaningful object out, but that's potentially an API 
change so we leave that as an exercise for
         // the future.
+
+        if (includeTrailerHeader) {
+          trailerFields.put(QueryResource.ERROR_MESSAGE_TRAILER_HEADER, 
e.getMessage());

Review Comment:
   done



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