src/topic_node.cpp
@@ -245,7 +245,10 @@ bool TopicNode::ClientAsyncRequest(const MsgRequestTopic &req, std::string &out_msg_id, const RequestResultCB &cb) { if (!IsRegistered()) { return false; } if (!IsRegistered()) { SetLastError(eNotRegistered, "Not Registered."); return false; } const std::string &msg_id(NewMsgId()); @@ -298,6 +301,7 @@ return sock.Send(&BHTopicCenterAddress(), head, query, onQueryResult); } catch (...) { SetLastError(eError, "internal error."); return false; } }