mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
parent
272f78dcb2
commit
ad27bea6c8
@ -174,13 +174,7 @@ class NativeDriver extends Driver
|
||||
return;
|
||||
}
|
||||
|
||||
$error = \error_get_last();
|
||||
|
||||
if (\strpos($error["message"], "unable to select") !== 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->error(new \Exception($error["message"]));
|
||||
$this->error(new \RuntimeException(\error_get_last()["message"]));
|
||||
}
|
||||
|
||||
foreach ($read as $stream) {
|
||||
|
Loading…
Reference in New Issue
Block a user