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