Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
assert for error detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lainio committed Apr 8, 2024
1 parent f14592a commit 18b5523
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/findy-network/findy-common-go/jwt"
"github.com/golang/glog"
"github.com/lainio/err2"
"github.com/lainio/err2/assert"
"github.com/lainio/err2/try"
"golang.org/x/oauth2"
"google.golang.org/grpc"
Expand Down Expand Up @@ -72,6 +73,7 @@ func ClientConn(cfg ClientCfg) (conn *grpc.ClientConn, err error) {
glog.V(3).Infoln("insecure gRPC call")
default:
glog.Warning("PKI nor Insecure not set")
assert.NotImplemented()
}

if cfg.Opts != nil {
Expand Down

0 comments on commit 18b5523

Please sign in to comment.