SpinGo / op-rabbit

The Opinionated RabbitMQ Library for Scala and Akka
Other
232 stars 73 forks source link

Wrong arguments for log.error in AsyncAckingRabbitConsumer #75

Closed dmexe closed 8 years ago

dmexe commented 8 years ago

Akka logging has 2 overloaded methods: log.error(cause: Throwable, msg: String) and log.error(template: String, arg: Any)

AsyncAckingRabbitConsumer calls a method with (template, arg) arguments, which produces an error 'WARNING arguments left: 1' instead of an original exception.