Skip to content

Commit

Permalink
[HttpClient] fix HttpClientDataCollector when handling canceled respo…
Browse files Browse the repository at this point in the history
…nses
  • Loading branch information
thematchless committed Feb 11, 2020
1 parent 48272f0 commit 7088ef7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -120,7 +120,7 @@ private function collectOnClient(TraceableHttpClient $client): array
unset($info['http_method']);
}

if ($trace['url'] === $info['url']) {
if (($info['url'] ?? null) === $trace['url']) {
unset($info['url']);
}

Expand Down

0 comments on commit 7088ef7

Please sign in to comment.