Improve CDC connector error messages

A more precise error message is now returned if authentication times out.
This commit is contained in:
Markus Mäkelä 2018-01-30 08:34:07 +02:00
parent 1a33c1caef
commit b7af191f40

View File

@ -460,7 +460,8 @@ bool Connection::do_auth()
{
buf[bytes] = '\0';
m_error = "Authentication failed: ";
m_error += buf;
m_error += bytes > 0 ? buf : "Request timed out";
}
else
{