[skip ci]Improve error message in mqclient (#10240)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/10262/head
Xiangyu Wang 2021-10-20 10:54:43 +08:00 committed by GitHub
parent 1493aa1f65
commit a2b8add4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func GetPulsarClientInstance(opts pulsar.ClientOptions) (*pulsarClient, error) {
once.Do(func() {
c, err := pulsar.NewClient(opts)
if err != nil {
log.Error("Set pulsar client failed, error", zap.Error(err))
log.Error("Failed to set pulsar client: ", zap.Error(err))
return
}
cli := &pulsarClient{client: c}