1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

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

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();