diff --git a/src/connection.cpp b/src/connection.cpp index 5e8d7b3..13862eb 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -368,7 +368,8 @@ void Executor::run() DEBUG("ignoring exception: " << e.what() ); } - if (response.toUpper().trimmed() != "OK") { + //TODO: we can do stricter error checking + if (response.isEmpty()) { config->server = Settings::getRandomServer(); try {