mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eeade88ad2 |
@ -139,6 +139,10 @@ final class Kernel
|
|||||||
$this->terminate();
|
$this->terminate();
|
||||||
|
|
||||||
if (is_array($error = error_get_last())) {
|
if (is_array($error = error_get_last())) {
|
||||||
|
if (! in_array($error['type'], [E_ERROR, E_CORE_ERROR])) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$message = $error['message'];
|
$message = $error['message'];
|
||||||
$file = $error['file'];
|
$file = $error['file'];
|
||||||
$line = $error['line'];
|
$line = $error['line'];
|
||||||
|
|||||||
Reference in New Issue
Block a user