Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Bug in consumer #42

Open
ErshovYS opened this issue Aug 27, 2020 · 0 comments
Open

Bug in consumer #42

ErshovYS opened this issue Aug 27, 2020 · 0 comments

Comments

@ErshovYS
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant