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:
parent
ec3a827060
commit
92081dba05
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue