This commit is contained in:
2023-08-18 20:57:30 +08:00
parent bfa5e350f8
commit 797cb94716
+1 -3
View File
@@ -104,9 +104,7 @@ class ErrorHandler extends Component implements ErrorInterface
if (empty($lastError) || $lastError['type'] !== E_ERROR) {
return;
}
echo '[' . date('Y-m-d H:i:s') . ']' . $lastError['message'] . PHP_EOL;
trigger_print_error($lastError['message']);
event(new OnSystemError());
}