Skip to content

Commit 75e0888

Browse files
committed
Merge branch 'fix/port-curl-missing'
2 parents a80d136 + 125594b commit 75e0888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Connections/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function logRequestFail(array $request, array $response, \Exception $exce
422422
array(
423423
'method' => $request['http_method'],
424424
'uri' => $response['effective_url'],
425-
'port' => $response['transfer_stats']['primary_port'],
425+
'port' => $response['transfer_stats']['primary_port'] ?? '',
426426
'headers' => $request['headers'],
427427
'HTTP code' => $response['status'],
428428
'duration' => $response['transfer_stats']['total_time'],

0 commit comments

Comments
 (0)