Fix uncaught exception

This commit is contained in:
RainLoop Team 2014-06-27 01:52:12 +04:00
parent 5d84af4458
commit 7165503f1d

View file

@ -269,21 +269,29 @@ class Actions
{ {
if (defined('APP_INSTALLED_START') && defined('APP_INSTALLED_VERSION') && if (defined('APP_INSTALLED_START') && defined('APP_INSTALLED_VERSION') &&
APP_INSTALLED_START && !APP_INSTALLED_VERSION) APP_INSTALLED_START && !APP_INSTALLED_VERSION)
{
try
{ {
$this->KeenIO('Install'); $this->KeenIO('Install');
} }
catch (\Exception $oException) {}
}
} }
/** /**
* @return void * @return void
*/ */
public function BootEnd() public function BootEnd()
{
try
{ {
if ($this->MailClient()->IsLoggined()) if ($this->MailClient()->IsLoggined())
{ {
$this->MailClient()->LogoutAndDisconnect(); $this->MailClient()->LogoutAndDisconnect();
} }
} }
catch (\Exception $oException) {}
}
/** /**
* @return string * @return string