add more nats debug
This commit is contained in:
parent
36e9065474
commit
3ff004afa0
5 changed files with 80 additions and 56 deletions
|
|
@ -55,6 +55,8 @@ func (a *Agent) RunRPC() {
|
|||
|
||||
opts := a.setupNatsOptions()
|
||||
nc, err := nats.Connect(a.NatsServer, opts...)
|
||||
a.Logger.Debugf("%+v\n", nc)
|
||||
a.Logger.Debugf("%+v\n", nc.Opts)
|
||||
if err != nil {
|
||||
a.Logger.Fatalln("RunRPC() nats.Connect()", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue