less noise

This commit is contained in:
Michael Davidsaver
2017-11-02 13:47:11 -05:00
parent 3353a20b8d
commit 4c8512a884

View File

@ -91,11 +91,9 @@ GWServerChannelProvider::createChannel(std::string const & channelName,
}
if(!ret) {
std::cerr<<"GWServer refusing channel "<<channelName<<"\n";
pvd::Status S(pvd::Status::STATUSTYPE_ERROR, "Not found");
channelRequester->channelCreated(S, ret);
} else {
std::cerr<<"GWServer connecting channel "<<channelName<<" as "<<newName<<"\n";
channelRequester->channelCreated(pvd::Status::Ok, ret);
channelRequester->channelStateChange(ret, pva::Channel::CONNECTED);
}