neuyilan commented on code in PR #7581:
URL: https://github.com/apache/iotdb/pull/7581#discussion_r994281582
##########
node-commons/src/main/java/org/apache/iotdb/commons/sync/metadata/SyncMetadata.java:
##########
@@ -150,69 +138,54 @@ public void checkAddPipe(PipeInfo pipeInfo) throws
PipeException {
// check PipeSink exists
if (!isPipeSinkExist(pipeInfo.getPipeSinkName())) {
throw new PipeException(
- String.format("can not find PIPESINK %s.",
pipeInfo.getPipeSinkName()));
+ String.format("Can not find PIPESINK [%s].",
pipeInfo.getPipeSinkName()));
}
Review Comment:
use PipeSinkNotExistException?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]