shauryachats commented on code in PR #17577:
URL: https://github.com/apache/pinot/pull/17577#discussion_r2730211791


##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/TimeSeriesRequestHandler.java:
##########
@@ -174,7 +174,7 @@ public TimeSeriesBlock handleTimeSeriesRequest(String lang, 
String rawQueryParam
       if (e instanceof QueryException) {
         qe = (QueryException) e;
       } else {
-        qe = new QueryException(QueryErrorCode.UNKNOWN, "Error processing 
time-series query", e);
+        qe = new QueryException(QueryErrorCode.UNKNOWN, e.getMessage(), e);

Review Comment:
   Good catch. I also realised I'm not adding class name here, fixed. `+` 
concatenation is null safe.



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