You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/05/24 15:12:15 UTC

[dolphinscheduler] 15/16: [fix-10207] When the registered alarm plugin is empty, the error message is not clear (#10224)

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

zhongjiajie pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 9eaac1e1b41e92532480aa9240d914e398abf6f0
Author: Mr.An <42...@users.noreply.github.com>
AuthorDate: Tue May 24 18:03:04 2022 +0800

    [fix-10207] When the registered alarm plugin is empty, the error message is not clear (#10224)
    
    * Improve the problem that the error message is not clear when the registered alarm plugin is empty
    
    * update error info
    
    * update error info
    
    * update error info
    
    * Update Status.java
    
    fix typo
    
    Co-authored-by: xiangzihao <46...@qq.com>
    (cherry picked from commit 14e80ab5fd3a6c068fe168fb76c5b9c836edf113)
---
 .../src/main/java/org/apache/dolphinscheduler/api/enums/Status.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java
index 0847d6920d..3315ef671e 100644
--- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java
+++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java
@@ -329,7 +329,7 @@ public enum Status {
 
     //plugin
     PLUGIN_NOT_A_UI_COMPONENT(110001, "query plugin error, this plugin has no UI component", "查询插件错误,此插件无UI组件"),
-    QUERY_PLUGINS_RESULT_IS_NULL(110002, "query plugins result is null", "查询插件为空"),
+    QUERY_PLUGINS_RESULT_IS_NULL(110002, "query alarm plugins result is empty, please check the startup status of the alarm component and confirm that the relevant alarm plugin is successfully registered", "查询告警插件为空, 请检查告警组件启动状态并确认相关告警插件已注册成功"),
     QUERY_PLUGINS_ERROR(110003, "query plugins error", "查询插件错误"),
     QUERY_PLUGIN_DETAIL_RESULT_IS_NULL(110004, "query plugin detail result is null", "查询插件详情结果为空"),