Commit c89bd8e3 authored by Mukund Sivaraman's avatar Mukund Sivaraman

[1818] Report the error code when CC_ASYNC_READ_FAILED is logged

parent 22041b8e
......@@ -14,7 +14,7 @@
$NAMESPACE isc::cc
% CC_ASYNC_READ_FAILED asynchronous read failed
% CC_ASYNC_READ_FAILED asynchronous read failed (error code = %1)
This marks a low level error, we tried to read data from the message queue
daemon asynchronously, but the ASIO library returned an error.
......
......@@ -249,7 +249,7 @@ SessionImpl::internalRead(const asio::error_code& error,
}
user_handler_();
} else {
LOG_ERROR(logger, CC_ASYNC_READ_FAILED);
LOG_ERROR(logger, CC_ASYNC_READ_FAILED).arg(error.value());
isc_throw(SessionError, "asynchronous read failed");
}
}
......
Markdown is supported
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