This is an automated email from the ASF dual-hosted git repository.

karan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new f793295c73d Log exception (#18517)
f793295c73d is described below

commit f793295c73defebb3132b98d6284b6a210d1b5f1
Author: Adarsh Sanjeev <[email protected]>
AuthorDate: Fri Sep 12 22:18:36 2025 +0530

    Log exception (#18517)
---
 .../main/java/org/apache/druid/msq/querykit/BaseLeafFrameProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/multi-stage-query/src/main/java/org/apache/druid/msq/querykit/BaseLeafFrameProcessor.java
 
b/multi-stage-query/src/main/java/org/apache/druid/msq/querykit/BaseLeafFrameProcessor.java
index 248b99b7cdb..066a3af64ad 100644
--- 
a/multi-stage-query/src/main/java/org/apache/druid/msq/querykit/BaseLeafFrameProcessor.java
+++ 
b/multi-stage-query/src/main/java/org/apache/druid/msq/querykit/BaseLeafFrameProcessor.java
@@ -92,7 +92,7 @@ public abstract class BaseLeafFrameProcessor implements 
FrameProcessor<Object>
       }
       catch (Exception e) {
         // Did not want to load the segment for exception handling, hence 
adding the descriptor in the log to figure out failures.
-        log.error("Error processing segment descriptor: [%s]", 
baseInput.getSegment().getDescriptor());
+        log.error(e, "Error processing segment descriptor: [%s]", 
baseInput.getSegment().getDescriptor());
         throw e;
       }
     } else if (baseInput.hasDataServerQuery()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to