Add debug

GitOrigin-RevId: 2ad27272b5896f1e3acc125cb7da64ef1d9f6b3b
This commit is contained in:
Arseny Smirnov 2018-03-13 19:09:59 +03:00
parent 600bbcf3ca
commit 7eb7f540e2

View File

@ -56,6 +56,9 @@ void HandshakeActor::return_connection(Status status) {
CHECK(!raw_connection_promise_);
return;
}
if (status.is_error()) {
status = Status::Error(status.code(), PSLICE() << status.message() << " : " << raw_connection->debug_str_);
}
unsubscribe(raw_connection->get_pollable());
raw_connection->get_pollable().set_observer(nullptr);
if (raw_connection_promise_) {