diff --git a/app/Lib/Tools/HttpSocketExtended.php b/app/Lib/Tools/HttpSocketExtended.php index cee948df9..2147ea8a8 100644 --- a/app/Lib/Tools/HttpSocketExtended.php +++ b/app/Lib/Tools/HttpSocketExtended.php @@ -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; }