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

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

View File

@ -28,7 +28,7 @@ type rmqClient struct {
func NewRmqClient(opts rocksmq.ClientOptions) (*rmqClient, error) {
c, err := rocksmq.NewClient(opts)
if err != nil {
log.Error("Set rmq client failed, error", zap.Error(err))
log.Error("Failed to set rmq client: ", zap.Error(err))
return nil, err
}
return &rmqClient{client: c}, nil