Follow up to #27375 and see #29649 (comment)
This removes an extra log message when we can’t connect to our own proxy, and another when the proxy is invalid.
Before #27375 if proxy is unreachable
02024-04-15T17:54:51Z connect() to 127.0.0.1:9999 failed after wait: Connection refused (61)
12024-04-15T17:54:52Z connect() to 127.0.0.1:9999 failed after wait: Connection refused (61)
22024-04-15T17:54:52Z connect() to 127.0.0.1:9999 failed after wait: Connection refused (61)
32024-04-15T17:54:53Z connect() to 127.0.0.1:9999 failed after wait: Connection refused (61)
42024-04-15T17:54:53Z connect() to 127.0.0.1:9999 failed after wait: Connection refused (61)
After #27375 if unix proxy is unreachable:
02024-04-15T17:54:03Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
12024-04-15T17:54:03Z Cannot connect to socket for /Users/matthewzipkin/Desktop/tor
22024-04-15T17:54:04Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
32024-04-15T17:54:04Z Cannot connect to socket for /Users/matthewzipkin/Desktop/tor
42024-04-15T17:54:04Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
52024-04-15T17:54:04Z Cannot connect to socket for /Users/matthewzipkin/Desktop/tor
62024-04-15T17:54:05Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
72024-04-15T17:54:05Z Cannot connect to socket for /Users/matthewzipkin/Desktop/tor
After this PR:
02024-04-15T18:18:51Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
12024-04-15T18:18:51Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
22024-04-15T18:18:52Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)
32024-04-15T18:18:52Z connect() to /Users/matthewzipkin/Desktop/tor failed: No such file or directory (2)