Small fixes

This commit is contained in:
RainLoop Team 2014-01-08 21:30:11 +04:00
parent 7134b65210
commit 9cc791caba
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
"name": "RainLoop",
"title": "RainLoop Webmail",
"version": "1.6.1",
"release": "628",
"release": "630",
"description": "Simple, modern & fast web-based email client",
"homepage": "http://rainloop.net",
"main": "Gruntfile.js",

View file

@ -600,7 +600,7 @@ class ManageSieveClient extends \MailSo\Net\NetClient
'OK' !== \substr($aResponse[\count($aResponse) - 1], 0, 2))
{
$this->writeLogException(
new \MailSo\Sieve\Exceptions\NegativeResponseException(),
new \MailSo\Sieve\Exceptions\NegativeResponseException($aResponse),
\MailSo\Log\Enumerations\Type::WARNING, true);
}
}

View file

@ -703,7 +703,7 @@ class SmtpClient extends \MailSo\Net\NetClient
if ('-' !== trim($aParts[1]) && !in_array((int) $aParts[0], $mExpectCode))
{
$this->writeLogException(
new Exceptions\NegativeResponseException(trim(
new Exceptions\NegativeResponseException($this->aResults, trim(
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
}
@ -711,7 +711,7 @@ class SmtpClient extends \MailSo\Net\NetClient
else
{
$this->writeLogException(
new Exceptions\ResponseException(trim(
new Exceptions\ResponseException($this->aResults, trim(
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
}