ankitsultana commented on code in PR #17577:
URL: https://github.com/apache/pinot/pull/17577#discussion_r2730164659
##########
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:
what happens when the messsage is null?
--
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]