Skip to content

Commit 5e6f66d

Browse files
authored
DPL: improve message when driver client is not yet connected (#5582)
1 parent 353895c commit 5e6f66d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Framework/Core/src/WSDriverClient.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,25 +98,25 @@ void WSDriverClient::flushPending()
9898
static bool printed1 = false;
9999
static bool printed2 = false;
100100
if (!mClient) {
101-
if (mBacklog.size() > 1000) {
101+
if (mBacklog.size() > 2000) {
102102
if (!printed1) {
103-
LOG(WARNING) << "Unable to communicate with driver because client does not exist";
103+
LOG(WARNING) << "Unable to communicate with driver because client does not exist. Continuing connection attempts.";
104104
printed1 = true;
105105
}
106106
}
107107
return;
108108
}
109109
if (!(mClient->isHandshaken())) {
110-
if (mBacklog.size() > 1000) {
110+
if (mBacklog.size() > 2000) {
111111
if (!printed2) {
112-
LOG(WARNING) << "Unable to communicate with driver because client is not connected";
112+
LOG(WARNING) << "Unable to communicate with driver because client is not connected. Continuing connection attempts.";
113113
printed2 = true;
114114
}
115115
}
116116
return;
117117
}
118118
if (printed1 || printed2) {
119-
LOGP(warning, "DriverClient connected successfully. Flushing message backlog of {} messages", mBacklog.size());
119+
LOGP(warning, "DriverClient connected successfully. Flushing message backlog of {} messages. All is good.", mBacklog.size());
120120
printed1 = false;
121121
printed2 = false;
122122
}

0 commit comments

Comments
 (0)