Print server connection string in debug mode

This commit is contained in:
Dan Sosedoff
2014-12-06 12:44:56 -06:00
parent 52c6e599f7
commit 5b073c4978
2 changed files with 11 additions and 5 deletions

View File

@@ -107,6 +107,10 @@ func initClient() {
exitWithMessage(err.Error())
}
if options.Debug {
fmt.Println("Server connection string:", client.connectionString)
}
fmt.Println("Connecting to server...")
err = client.Test()
if err != nil {