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

stoty pushed a commit to branch 5.2
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.2 by this push:
     new 09b67bb0d8 PHOENIX-7529 Optimize exception log printing in 
CSVCommonsLoader (#2078)
09b67bb0d8 is described below

commit 09b67bb0d8b703f9e8363a0defd52727a9cfb038
Author: chaijunjie0101 <[email protected]>
AuthorDate: Wed Feb 19 19:44:39 2025 +0800

    PHOENIX-7529 Optimize exception log printing in CSVCommonsLoader (#2078)
---
 .../src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/phoenix-core-client/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
 
b/phoenix-core-client/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
index b52092ae60..835aea6ddd 100644
--- 
a/phoenix-core-client/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
+++ 
b/phoenix-core-client/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
@@ -284,7 +284,7 @@ public class CSVCommonsLoader {
 
         @Override
         public void errorOnRecord(CSVRecord csvRecord, Throwable throwable) {
-            LOGGER.error("Error upserting record " + csvRecord, 
throwable.getMessage());
+            LOGGER.error("Error upserting record " + csvRecord, throwable);
             if (strict) {
                 Throwables.propagate(throwable);
             }

Reply via email to