mirror of https://github.com/grpc/grpc-node.git
Fix doubled name resolver errors and added detail
This commit is contained in:
parent
4144558ee6
commit
026d681a84
|
|
@ -218,10 +218,9 @@ class DnsResolver implements Resolver {
|
|||
this.pendingResultPromise = null;
|
||||
this.listener.onError({
|
||||
code: Status.UNAVAILABLE,
|
||||
details: 'Name resolution failed',
|
||||
details: `Name resolution failed for target ${this.target}`,
|
||||
metadata: new Metadata(),
|
||||
});
|
||||
this.listener.onError(err);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue