[Composer] Change gofabian/negotiation-middleware dependency requirement to support PHP 8.2 #96
|
@ -290,6 +290,9 @@ class Server
|
||||||
} else {
|
} else {
|
||||||
$this->logger->info('SSL-verified URL probe failed with error code: ' . $e->getCode());
|
$this->logger->info('SSL-verified URL probe failed with error code: ' . $e->getCode());
|
||||||
}
|
}
|
||||||
|
} catch (\InvalidArgumentException $e) {
|
||||||
|
$this->logger->error('Invalid argument provided to HTTP client', ['base_url' => $base_url, 'exception' => $e]);
|
||||||
|
return ['data' => false, 'time' => 0, 'curl_info' => [], 'ssl_state' => null];
|
||||||
}
|
}
|
||||||
|
|
||||||
$probe_end = microtime(true);
|
$probe_end = microtime(true);
|
||||||
|
|
Loading…
Reference in a new issue