mirror of https://github.com/milvus-io/milvus.git
enhance: Remove unnecessary stack trace in error (#37816)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/37888/head
parent
c07f056b17
commit
7817ea6b8b
|
@ -124,9 +124,8 @@ func (c *GRPCClientBase[T]) Call(ctx context.Context, caller func(client T) (any
|
|||
|
||||
ret, err := c.callOnce(ctx, caller)
|
||||
if err != nil {
|
||||
traceErr := fmt.Errorf("err: %s\n, %s", err.Error(), tracer.StackTrace())
|
||||
log.Error("GRPCClientBase[T] Call grpc first call get error ", zap.Error(traceErr))
|
||||
return nil, traceErr
|
||||
log.Error("GRPCClientBase[T] Call grpc first call get error ", zap.Error(err))
|
||||
return nil, err
|
||||
}
|
||||
return ret, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue