mirror of
https://github.com/danog/dns.git
synced 2024-11-30 04:29:06 +01:00
Fixed incorrect exception name.
This commit is contained in:
parent
e58d46d3c5
commit
67b0ff1494
@ -117,7 +117,7 @@ class Client {
|
|||||||
// Defer UDP server connect until needed to allow custom address/port option assignment
|
// Defer UDP server connect until needed to allow custom address/port option assignment
|
||||||
// after object instantiation.
|
// after object instantiation.
|
||||||
if (empty($this->socket) && !$this->connect()) {
|
if (empty($this->socket) && !$this->connect()) {
|
||||||
return new Failure(new ResolverException(
|
return new Failure(new ResolutionException(
|
||||||
sprintf(
|
sprintf(
|
||||||
"Failed connecting to DNS server at %s:%d",
|
"Failed connecting to DNS server at %s:%d",
|
||||||
$this->serverAddress,
|
$this->serverAddress,
|
||||||
|
Loading…
Reference in New Issue
Block a user