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

Bug in consumer #42

Description

@ErshovYS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions