This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push:
new db0c57c28f PHOENIX-7529 Optimize exception log printing in
CSVCommonsLoader (#2078)
db0c57c28f is described below
commit db0c57c28fb7882dcff79d00ef2f6a8b3b14865a
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/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
b/phoenix-core/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
index b52092ae60..835aea6ddd 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
+++ b/phoenix-core/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);
}