Browse Source

More verbose logging on failure

Burke Libbey 12 years ago
parent
commit
a3737f568e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client.go

+ 1 - 0
client.go

@@ -233,6 +233,7 @@ func (client *Client) refreshMetadata(topics []string, retries int) error {
 		}
 		}
 
 
 		// some other error, remove that broker and try again
 		// some other error, remove that broker and try again
+		Logger.Println("Unexpected error from GetMetadata, closing broker:", err)
 		client.disconnectBroker(broker)
 		client.disconnectBroker(broker)
 	}
 	}