mirror of https://github.com/cirruslabs/tart.git
Don't bind the unused error when catching connection-pool failures
This commit is contained in:
parent
d4d95f02e0
commit
1f556051b0
|
|
@ -9,7 +9,7 @@ class AgentResolver {
|
|||
static func ResolveIP(_ controlSocketPath: String) async throws -> IPv4Address? {
|
||||
do {
|
||||
return try await resolveIP(controlSocketPath)
|
||||
} catch let error as GRPCConnectionPoolError {
|
||||
} catch is GRPCConnectionPoolError {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue