We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ba5cf commit c0cab01Copy full SHA for c0cab01
src/Elasticsearch/ClientBuilder.php
@@ -691,7 +691,7 @@ private function extractURIParts(string $host): array
691
$parts = parse_url($host);
692
693
if ($parts === false) {
694
- throw new InvalidArgumentException("Could not parse URI");
+ throw new InvalidArgumentException(sprintf('Could not parse URI: "%s"', $host));
695
}
696
697
if (isset($parts['port']) !== true) {
0 commit comments