Commit 3aeb3405 authored by Steven Murray's avatar Steven Murray
Browse files

Minor improvement of error message

parent ec5f7efa
......@@ -988,7 +988,7 @@ int castor::io::connectWithTimeout(
if(!(pollFd.revents & POLLIN) && !(pollFd.revents & POLLOUT)) {
castor::exception::Exception ex(ECANCELED);
ex.getMessage() << "Failed to connect"
": poll() returned without the POLLIN or POLLOUT set"
": poll() returned without POLLIN or POLLOUT set"
": pollFd.fd=" << pollFd.fd << ",pollFd.events=" << pollFd.events <<
",pollFd.revents=" << pollFd.revents;
throw ex;
......
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