aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <[email protected]>2025-12-18 15:47:19 +0100
committerhjk <[email protected]>2025-12-18 14:54:59 +0000
commit7913796bce0bf2ee3bbfc1cc871a5c94a54871a7 (patch)
tree46eba3edfa864d057c878e5b94b26619e220d549
parentf25d76f1b2a2aa92b7b93d9b33ee859bc0b2fc0f (diff)
McpServer: Demote errors to warningsHEADmaster
Otherwise the QML Debugger Console thinks this is something so important that the user needs to see it (and all subsequent, unrelated debug messages). Change-Id: I647523ae56476888b5bb7544d03f5afcd3834133 Reviewed-by: Cristian Adam <[email protected]>
-rw-r--r--src/plugins/mcpserver/mcpserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/mcpserver/mcpserver.cpp b/src/plugins/mcpserver/mcpserver.cpp
index b422aa38e98..e1ae29f4c1b 100644
--- a/src/plugins/mcpserver/mcpserver.cpp
+++ b/src/plugins/mcpserver/mcpserver.cpp
@@ -677,7 +677,7 @@ bool McpServer::start(quint16 port)
// Try to start TCP server on the requested port first
if (!m_tcpServerP->listen(QHostAddress::LocalHost, m_port)) {
- qCCritical(mcpServer) << "Failed to start MCP TCP server on port" << m_port << ":"
+ qCWarning(mcpServer) << "Failed to start MCP TCP server on port" << m_port << ":"
<< m_tcpServerP->errorString();
qCWarning(mcpServer) << "Port" << m_port
<< "is in use, trying to find an available port...";
@@ -693,7 +693,7 @@ bool McpServer::start(quint16 port)
}
if (!m_tcpServerP->isListening()) {
- qCCritical(mcpServer) << "Failed to start MCP TCP server on any port from 3001-3010";
+ qCWarning(mcpServer) << "Failed to start MCP TCP server on any port from 3001-3010";
return false;
}
}