From 365c864a587365fe443b11cc0cd7cfc8f8f8eb81 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 01 六月 2021 11:19:22 +0800
Subject: [PATCH] refactor, clean up useless code.
---
box/center_topic_node.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/box/center_topic_node.cpp b/box/center_topic_node.cpp
index 5c8df7a..749f4e6 100644
--- a/box/center_topic_node.cpp
+++ b/box/center_topic_node.cpp
@@ -106,7 +106,7 @@
*reply.mutable_errmsg() = data.errmsg();
reply.set_data(ToJson(data));
} else {
- SetError(*reply.mutable_errmsg(), eInvalidInput, "not supported topic" + request.topic());
+ SetError(*reply.mutable_errmsg(), eInvalidInput, "invalid topic: " + request.topic());
}
pnode_->ServerSendReply(src_info, reply);
};
--
Gitblit v1.8.0