From 1b5c0587332f191ce271d9527e4f23bda87b4ba8 Mon Sep 17 00:00:00 2001 From: Jakub Onderka Date: Mon, 15 Feb 2021 20:06:06 +0100 Subject: [PATCH] fix: [internal] Field name in HttpSocketExtended --- app/Lib/Tools/HttpSocketExtended.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }