Skip to content

Commit cdd51c7

Browse files
author
Cheng Xin
committed
Merge branch 'dev_tcp_client_chengxin' into 'feature_tcp_client'
【ADD】增加两个错误日志的输出 See merge request server/openapi/openapi-cpp-sdk!25
2 parents 1b01886 + 7fee14a commit cdd51c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/push_socket/push_socket.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,14 @@ void TIGER_API::PushSocket::close_session()
183183
socket_->lowest_layer().shutdown(boost::asio::ip::tcp::socket::shutdown_both, ec);
184184
if (ec)
185185
{
186+
LOG(ERROR) << ec;
186187
dispatch_inner_error_callback(ec.message());
187188
}
188189

189190
socket_->lowest_layer().close(ec);
190191
if (ec)
191192
{
193+
LOG(ERROR) << ec;
192194
dispatch_inner_error_callback(ec.message());
193195
}
194196
}

0 commit comments

Comments
 (0)