fix: [internal] Field name in HttpSocketExtended

pull/7011/head
Jakub Onderka 2021-02-15 20:06:06 +01:00
parent ab1808a1ed
commit 1b5c058733
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;
}