This commit is contained in:
2021-05-13 18:36:25 +08:00
parent 5ea604651b
commit 1ed318c2e0
-7
View File
@@ -55,8 +55,6 @@ class ErrorHandler extends Component implements ErrorInterface
return;
}
var_dump($lastError);
$this->category = 'shutdown';
$messages = explode(PHP_EOL, $lastError['message']);
@@ -78,9 +76,6 @@ class ErrorHandler extends Component implements ErrorInterface
Event::trigger(Event::SYSTEM_RESOURCE_CLEAN);
var_dump($exception);
$this->sendError($exception->getMessage(), $exception->getFile(), $exception->getLine());
}
@@ -94,8 +89,6 @@ class ErrorHandler extends Component implements ErrorInterface
{
$error = func_get_args();
var_dump(func_get_args());
$path = ['file' => $error[2], 'line' => $error[3]];
if ($error[0] === 0) {