streaming: Do not fail the session when failed to send complete message

Since the complete message is not mandatary, no point to fail the session
in case failed to send the complete message.
This commit is contained in:
Asias He
2017-07-18 15:36:22 +08:00
parent ca5248cd58
commit 12d18cfab4

View File

@@ -350,7 +350,6 @@ void stream_session::send_failed_complete_message() {
sslog.debug("[Stream #{}] GOT COMPLETE_MESSAGE Reply from {}", plan_id, id.addr);
}).handle_exception([session, id, plan_id] (auto ep) {
sslog.warn("[Stream #{}] COMPLETE_MESSAGE for {} has failed: {}", plan_id, id.addr, ep);
session->on_error();
});
}