Improve the failure message, make it senseful when trying to discover what a service is from telnet, and a listen port

This commit is contained in:
Lee Hambley 2011-06-29 19:13:11 +02:00
parent ec3a827060
commit 92081dba05
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ void Connection::startCommand() {
SLOT(finishCommand(Response *))); SLOT(finishCommand(Response *)));
m_command->start(m_arguments); m_command->start(m_arguments);
} else { } else {
QString failure = QString("Unknown command: ") + m_commandName + "\n"; QString failure = QString("[Capybara WebKit] Unknown command: ") + m_commandName + "\n";
writeResponse(new Response(false, failure)); writeResponse(new Response(false, failure));
} }
m_commandName = QString(); m_commandName = QString();