NeowayLabs/wabbit

Bug in consumer

ErshovYS opened this issue · 0 comments

Hi!
I found little bug in your examples (and maybe on library): if you send wrong "queue" parameter in channel.Consume, then you can't return error from function.

For example - https://github.com/NeowayLabs/wabbit/blob/master/_examples/simple-consumer/exchange.go
Replace "queue.Name()" to some "foobar" in string 129 and Consume return error "Unknown queue", but your example will never return it, because in string 139 program will not responding.

P.S. I test it with wabbit/amqptest/server