log: dissallow nil loggers (#7445)

This commit is contained in:
Sam Kleinman
2021-12-14 12:45:13 -05:00
committed by GitHub
parent a872dd75b7
commit 2ff962a63a
15 changed files with 38 additions and 34 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func NewProxy(
return &Proxy{
Addr: listenAddr,
Config: config,
Client: lrpc.NewClient(rpcClient, lightClient, opts...),
Client: lrpc.NewClient(logger, rpcClient, lightClient, opts...),
Logger: logger,
}, nil
}