Minor corrections

This commit is contained in:
Jansen Price 2020-08-27 17:29:20 -05:00
parent a42e46aaad
commit dbd2c5bf06
2 changed files with 3 additions and 3 deletions

View file

@ -153,7 +153,7 @@ class Console extends \Qi_Console_Client
$this->_terminal->do_setaf(2),
str_pad($left, 20),
$this->_terminal->do_op(),
$value,
$value
);
}

View file

@ -182,12 +182,12 @@ class Server
public function onWarning($id, $message)
{
if (strpos($message, "Operation timed out") !== false) {
if (strpos($message, "timed out") !== false) {
// Do nothing
return;
}
$error = sprintf("Error %s: %s", $id, $message);
$this->log(Logger::ERROR, "$client_name Closed");
$this->log(Logger::ERROR, "Connection Closed");
// Something else happened.
throw new \Exception($error);