Removed unnecessary error message.
This commit is contained in:
parent
2dc4ceae29
commit
c4170fbb86
1 changed files with 7 additions and 1 deletions
|
@ -908,8 +908,14 @@ void xmrig::Client::onConnect(uv_connect_t *req, int status)
|
||||||
LOG_ERR("[%s] connect error: \"%s\"", client->url(), uv_strerror(status));
|
LOG_ERR("[%s] connect error: \"%s\"", client->url(), uv_strerror(status));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (client->state() == ReconnectingState) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (client->state() != ConnectingState) {
|
if (client->state() != ConnectingState) {
|
||||||
|
if (!client->isQuiet()) {
|
||||||
LOG_ERR("[%s] connect error: \"invalid state: %d\"", client->url(), client->state());
|
LOG_ERR("[%s] connect error: \"invalid state: %d\"", client->url(), client->state());
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue