Skip to content

Commit

Permalink
Merge branch 'fix/port-curl-missing'
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Feb 14, 2020
2 parents a80d136 + 125594b commit 75e0888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Connections/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public function logRequestFail(array $request, array $response, \Exception $exce
array(
'method' => $request['http_method'],
'uri' => $response['effective_url'],
'port' => $response['transfer_stats']['primary_port'],
'port' => $response['transfer_stats']['primary_port'] ?? '',
'headers' => $request['headers'],
'HTTP code' => $response['status'],
'duration' => $response['transfer_stats']['total_time'],
Expand Down

0 comments on commit 75e0888

Please sign in to comment.