kaisun2000 commented on code in PR #15176:
URL: https://github.com/apache/druid/pull/15176#discussion_r1369132085
##########
server/src/main/java/org/apache/druid/client/JsonParserIterator.java:
##########
@@ -185,8 +185,15 @@ private void init()
} else if (nextToken == JsonToken.START_OBJECT) {
throw convertException(jp.getCodec().readValue(jp,
QueryException.class));
} else {
+ String errMsg = jp.getValueAsString();
Review Comment:
good catch. added checking null string and upon null value, not doing the
string limitting to 192 length check.
--
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]