eee
This commit is contained in:
@@ -89,7 +89,7 @@ class ErrorHandler extends Component implements ErrorInterface
|
||||
return;
|
||||
}
|
||||
|
||||
$this->getLogger()->failure($lastError['message'] . PHP_EOL);
|
||||
$this->getLogger()->logCategory($lastError['message'] . PHP_EOL);
|
||||
|
||||
event(new OnSystemError());
|
||||
}
|
||||
@@ -104,7 +104,7 @@ class ErrorHandler extends Component implements ErrorInterface
|
||||
{
|
||||
$this->category = 'exception';
|
||||
|
||||
$this->getLogger()->failure($exception);
|
||||
$this->getLogger()->logCategory($exception);
|
||||
|
||||
event(new OnSystemError());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user