cryptoe commented on code in PR #15467:
URL: https://github.com/apache/druid/pull/15467#discussion_r1411609806


##########
server/src/main/java/org/apache/druid/server/QueryLifecycle.java:
##########
@@ -347,7 +347,7 @@ public void emitLogsAndMetrics(
 
       if (e != null) {
         statsMap.put("exception", e.toString());
-        if (baseQuery.context().isDebug()) {
+        if (baseQuery.context().isDebug() || e.getMessage() == null) {

Review Comment:
   Wont this fill up the logs if we have too many duck exceptions ?
   



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