diff --git a/clientconn.go b/clientconn.go index fc13c38d..df44740c 100644 --- a/clientconn.go +++ b/clientconn.go @@ -53,7 +53,7 @@ var ( // ErrNoTransportSecurity indicates that there is no transport security // being set for ClientConn. Users should either set one or explicityly // call WithInsecure DialOption to disable security. - ErrNoTransportSecurity = errors.New("grpc: no transport security set") + ErrNoTransportSecurity = errors.New("grpc: no transport security set (use grpc.WithInsecure() or set one)") // ErrClientConnClosing indicates that the operation is illegal because // the session is closing. ErrClientConnClosing = errors.New("grpc: the client connection is closing")