mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
moar logging
This commit is contained in:
parent
658b5269d9
commit
0d60d23d28
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue