Commit a6af1306 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed missing end of session status and error counting when we fail to report...

Fixed missing end of session status and error counting when we fail to report end session to the client.
parent 4d56b325
......@@ -362,6 +362,8 @@ void MigrationReportPacker::WorkerThread::run(){
//we get there because to tried to close the connection and it failed
//either from the catch a few lines above or directly from rep->execute
m_parent.logRequestReport(chrono,"tried to report endOfSession(WithError) and got an exception, cant do much more",LOG_ERR);
m_parent.m_watchdog->addToErrorCount("Error_clientCommunication");
m_parent.m_watchdog->addParameter(log::Param("status","failure"));
}
}
......
......@@ -293,6 +293,8 @@ void RecallReportPacker::WorkerThread::run(){
//we get there because to tried to close the connection and it failed
//either from the catch a few lines above or directly from rep->execute
m_parent.logRequestReport(chrono,"tried to report endOfSession(WithError) and got an exception, cant do much more",LOG_ERR);
m_parent.m_watchdog->addToErrorCount("Error_clientCommunication");
m_parent.m_watchdog->addParameter(log::Param("status","failure"));
}
m_parent.m_lc.log(LOG_DEBUG, "Finishing RecallReportPacker thread");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment