Improve CDC connector error messages
A more precise error message is now returned if authentication times out.
This commit is contained in:
parent
1a33c1caef
commit
b7af191f40
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user