moar logging

This commit is contained in:
sneurlax 2023-08-09 15:04:57 -05:00
parent 658b5269d9
commit 0d60d23d28

View file

@ -114,7 +114,7 @@ class JsonRPC {
} else {
if (_socksSocket == null) {
Logging.instance.log(
"JsonRPC request: opening SOCKS socket $host:$port",
"JsonRPC request: opening SOCKS socket to $host:$port",
level: LogLevel.Info,
);
await connect();
@ -235,6 +235,9 @@ class JsonRPC {
}
try {
Logging.instance.log(
"JsonRPC.connect(): connecting to $host:$port over SOCKS socket at $proxyInfo...",
level: LogLevel.Info);
if (!isIpAddress(host)) {
await _socksSocket!.connect("$host:$port");
} else {