Bug fixed in exception handling, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@128 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -15,7 +15,7 @@ class ErrorAction extends Action
|
||||
/**
|
||||
* @var ErrorException
|
||||
*/
|
||||
protected $exception;
|
||||
public $exception;
|
||||
|
||||
public function __construct($exception)
|
||||
{
|
||||
@ -54,7 +54,7 @@ class ErrorAction extends Action
|
||||
|
||||
protected function logError()
|
||||
{
|
||||
if ($this->template = 500) {
|
||||
if ($this->template == 500) {
|
||||
|
||||
$error = 0;
|
||||
$ex = $this->exception;
|
||||
|
Reference in New Issue
Block a user