Bugfix: Don't use a nil logger (causes panics on AMQP errors)
This commit is contained in:
parent
ae9a8a38fa
commit
9d84a89da6
|
|
@ -295,7 +295,7 @@ func NewAmqpRPCClient(clientQueuePrefix, serverQueue string, channel *amqp.Chann
|
|||
}
|
||||
|
||||
// Subscribe to the response queue and dispatch
|
||||
msgs, err := amqpSubscribe(rpc.channel, clientQueue, nil)
|
||||
msgs, err := amqpSubscribe(rpc.channel, clientQueue, rpc.log)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue