UI: ControlWorker: Don't log PeerClosedError

This commit is contained in:
Nodir Temirkhodjaev 2024-10-05 13:10:23 +05:00
parent eb6f31f361
commit f26da76cbb

View File

@ -97,7 +97,7 @@ void ControlWorker::setupForAsync()
connect(socket(), &QLocalSocket::errorOccurred, this, connect(socket(), &QLocalSocket::errorOccurred, this,
[&](QLocalSocket::LocalSocketError socketError) { [&](QLocalSocket::LocalSocketError socketError) {
if (!m_isReconnecting) { if (!m_isReconnecting && socketError != QLocalSocket::PeerClosedError) {
qCWarning(LC) << "Client error:" << id() << socketError << errorString(); qCWarning(LC) << "Client error:" << id() << socketError << errorString();
} }
close(); close();