Browse Source

More verbose error log (#2864)

pull/2869/head
krhubert 6 years ago
committed by Ethan Buchman
parent
commit
b90e06a37c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      abci/client/grpc_client.go
  2. +1
    -1
      abci/client/socket_client.go

+ 1
- 1
abci/client/grpc_client.go View File

@ -54,7 +54,7 @@ RETRY_LOOP:
if cli.mustConnect {
return err
}
cli.Logger.Error(fmt.Sprintf("abci.grpcClient failed to connect to %v. Retrying...\n", cli.addr))
cli.Logger.Error(fmt.Sprintf("abci.grpcClient failed to connect to %v. Retrying...\n", cli.addr), "err", err)
time.Sleep(time.Second * dialRetryIntervalSeconds)
continue RETRY_LOOP
}


+ 1
- 1
abci/client/socket_client.go View File

@ -67,7 +67,7 @@ RETRY_LOOP:
if cli.mustConnect {
return err
}
cli.Logger.Error(fmt.Sprintf("abci.socketClient failed to connect to %v. Retrying...", cli.addr))
cli.Logger.Error(fmt.Sprintf("abci.socketClient failed to connect to %v. Retrying...", cli.addr), "err", err)
time.Sleep(time.Second * dialRetryIntervalSeconds)
continue RETRY_LOOP
}


Loading…
Cancel
Save