private function GuzzleConnectionDebug::processCurlError in Elasticsearch Connector 7
Same name and namespace in other branches
- 7.5 modules/elasticsearch_connector_devel/includes/GuzzleConnectionDebugging.inc \Elasticsearch\Connections\GuzzleConnectionDebug::processCurlError()
- 7.2 modules/elasticsearch_connector_devel/includes/GuzzleConnectionDebugging.inc \Elasticsearch\Connections\GuzzleConnectionDebug::processCurlError()
Parameters
CurlException $exception\:
1 call to GuzzleConnectionDebug::processCurlError()
- GuzzleConnectionDebug::sendRequest in modules/
elasticsearch_connector_devel/ includes/ GuzzleConnectionDebugging.inc
File
- modules/
elasticsearch_connector_devel/ includes/ GuzzleConnectionDebugging.inc, line 298
Class
Namespace
Elasticsearch\ConnectionsCode
private function processCurlError(CurlException $exception) {
$error = 'Curl error: ' . $exception
->getMessage();
$this->log
->error($error);
$this
->throwCurlException($exception
->getErrorNo(), $exception
->getError());
}