BewareMyPower commented on code in PR #17410: URL: https://github.com/apache/pulsar/pull/17410#discussion_r971023591
########## pulsar-client-cpp/lib/ClientConnection.cc: ########## @@ -1557,34 +1567,34 @@ void ClientConnection::close(Result result) { } lock.unlock(); - LOG_INFO(cnxString_ << "Connection closed"); + LOG_INFO(cnxString_ << "Connection closed with " << result); for (ProducersMap::iterator it = producers.begin(); it != producers.end(); ++it) { - HandlerBase::handleDisconnection(ResultConnectError, shared_from_this(), it->second); + HandlerBase::handleDisconnection(result, shared_from_this(), it->second); Review Comment: Addressed. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org