You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2022/08/01 03:28:48 UTC

[incubator-seatunnel] branch dev updated: [Core][Message] Fix wrong message about ReflectionUtils (#2286)

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

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 6f58752bf [Core][Message] Fix wrong message about ReflectionUtils (#2286)
6f58752bf is described below

commit 6f58752bf44d5e325fe0e9866cb9d34466d37e16
Author: Hisoka <fa...@qq.com>
AuthorDate: Mon Aug 1 11:28:44 2022 +0800

    [Core][Message] Fix wrong message about ReflectionUtils (#2286)
---
 .../main/java/org/apache/seatunnel/common/utils/ReflectionUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/ReflectionUtils.java b/seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/ReflectionUtils.java
index f186f0486..e9713f11e 100644
--- a/seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/ReflectionUtils.java
+++ b/seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/ReflectionUtils.java
@@ -61,7 +61,7 @@ public class ReflectionUtils {
             field.setAccessible(true);
             field.set(object, value);
         } catch (NoSuchFieldException | IllegalAccessException e) {
-            throw new RuntimeException("Incompatible KafkaProducer version", e);
+            throw new RuntimeException("field set failed", e);
         }
     }