You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2023/02/14 04:24:09 UTC

[james-project] branch master updated: [FIX] Misleeading error log in Host class (#1441)

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 0cea2ef785 [FIX] Misleeading error log in Host class (#1441)
0cea2ef785 is described below

commit 0cea2ef78525a2bb31d4d118c86d010eea7a5c2f
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Tue Feb 14 11:24:03 2023 +0700

    [FIX] Misleeading error log in Host class (#1441)
    
    Should not mention Cassandra
---
 core/src/main/java/org/apache/james/util/Host.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/james/util/Host.java b/core/src/main/java/org/apache/james/util/Host.java
index 30e7b005c2..e93b7f9dec 100644
--- a/core/src/main/java/org/apache/james/util/Host.java
+++ b/core/src/main/java/org/apache/james/util/Host.java
@@ -78,7 +78,7 @@ public class Host {
                 .splitToList(ipAndPort);
 
         if (parts.size() < 1 || parts.size() > 2) {
-            throw new IllegalArgumentException(ipAndPort + " is not a valid cassandra node");
+            throw new IllegalArgumentException(ipAndPort + " is not a valid host string");
         }
         return parts;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org