Bugfix: Don't use a nil logger (causes panics on AMQP errors)

This commit is contained in:
J.C. Jones 2015-06-20 10:54:14 -07:00
parent ae9a8a38fa
commit 9d84a89da6
1 changed files with 1 additions and 1 deletions

View File

@ -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
}