Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when name nil given to queue #570

Closed
MarieS1415 opened this issue Nov 7, 2018 · 0 comments
Closed

error when name nil given to queue #570

MarieS1415 opened this issue Nov 7, 2018 · 0 comments
Milestone

Comments

@MarieS1415
Copy link

Hello,
I was using the following line:
queue = channel.queue(ENV['branch_name'], durable: true, auto_delete: false)
while the environment variable was not defined.
It triggered the following error:
/gems/bunny-2.12.0/lib/bunny/queue.rb:383:in add_default_options': undefined method empty?' for nil:NilClass (NoMethodError)
And indeed this line of code seems to correspond to the queue name.

@michaelklishin michaelklishin added this to the 2.13.0 milestone Nov 7, 2018
michaelklishin added a commit that referenced this issue Dec 3, 2018
Closes #570

(cherry picked from commit de14017)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants