From a85de381ce4b8f8d3c7359663a1dce6dbaf2d352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 31 Mar 2021 11:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Client/Http2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Client/Http2.php b/HttpServer/Client/Http2.php index 60346b28..d5f98a72 100644 --- a/HttpServer/Client/Http2.php +++ b/HttpServer/Client/Http2.php @@ -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; }