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

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


The following commit(s) were added to refs/heads/master by this push:
     new a53f7adba63 Fix the message when creating password history fails 
(#16108)
a53f7adba63 is described below

commit a53f7adba6355c520f9d47505928e0480909fb01
Author: Jiang Tian <[email protected]>
AuthorDate: Wed Aug 6 15:09:34 2025 +0800

    Fix the message when creating password history fails (#16108)
    
    * Fix the message when creating password history fails
    
    * spotless
---
 .../src/main/java/org/apache/iotdb/db/utils/DataNodeAuthUtils.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/DataNodeAuthUtils.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/DataNodeAuthUtils.java
index b9a759403cb..94bf1db83b9 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/DataNodeAuthUtils.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/DataNodeAuthUtils.java
@@ -177,8 +177,7 @@ public class DataNodeAuthUtils {
     } catch (Exception e) {
       LOGGER.error("Cannot create password history for {} because {}", 
username, e.getMessage());
       return new TSStatus(TSStatusCode.INTERNAL_SERVER_ERROR.getStatusCode())
-          .setMessage(
-              "Cannot create password history for " + username + " because " + 
e.getMessage());
+          .setMessage("The server is not ready for login, please check the 
server log for details");
     }
   }
 }

Reply via email to