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