Merge pull request #7011 from JakubOnderka/http-socket-fied-name

fix: [internal] Field name in HttpSocketExtended
pull/7002/head
Jakub Onderka 2021-02-15 20:49:55 +01:00 committed by GitHub
commit 3b155d7c0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class HttpSocketExtended extends HttpSocket
}
// Convert connection timeout to SocketException
if (!empty($this->lastError)) {
throw new SocketException($this->lastError['msg']);
throw new SocketException($this->lastError['str']);
}
return $response;
}