This commit is contained in:
2021-03-31 11:15:34 +08:00
parent c4997abb4a
commit a85de381ce
+1 -1
View File
@@ -238,7 +238,7 @@ class Http2 extends Component
return $client;
});
if (!$client->connected && !$client->connect()) {
throw new Exception('Http connected fail.');
throw new Exception($client->errMsg, $client->errCode);
}
return $client;
}