mirror of https://github.com/MISP/MISP
Merge pull request #7011 from JakubOnderka/http-socket-fied-name
fix: [internal] Field name in HttpSocketExtendedpull/7002/head
commit
3b155d7c0f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue