Skip to content

Instantly share code, notes, and snippets.

@biinari
Created November 7, 2014 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biinari/31b6f8e501a1d857bd03 to your computer and use it in GitHub Desktop.
Save biinari/31b6f8e501a1d857bd03 to your computer and use it in GitHub Desktop.
Consuming test message fc8104a8-3b4d-4940-a26c-5f9e61cb5d4c
message(fc8104a8-3b4d-4940-a26c-5f9e61cb5d4c): error in consumer 'TestConsumer'
message(fc8104a8-3b4d-4940-a26c-5f9e61cb5d4c): TypeError - String can't be coerced into Float
backtrace:
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/v2-queue-b3558fd59db3/lib/fatsoma/queue/consumer.rb:87:in `*'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/v2-queue-b3558fd59db3/lib/fatsoma/queue/consumer.rb:87:in `randomise_by_percent'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/v2-queue-b3558fd59db3/lib/fatsoma/queue/consumer.rb:69:in `next_expiration'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/v2-queue-b3558fd59db3/lib/fatsoma/queue/consumer.rb:48:in `republish'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/v2-queue-b3558fd59db3/lib/fatsoma/queue/consumer.rb:33:in `rescue in process'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/v2-queue-b3558fd59db3/lib/fatsoma/queue/consumer.rb:36:in `process'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/hutch-40fc73fbe143/lib/hutch/worker.rb:84:in `handle_message'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/bundler/gems/hutch-40fc73fbe143/lib/hutch/worker.rb:69:in `block in setup_queue'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer.rb:56:in `call'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer.rb:56:in `call'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/channel.rb:1690:in `block in handle_frameset'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer_work_pool.rb:84:in `call'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer_work_pool.rb:84:in `block (2 levels) in run_loop'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer_work_pool.rb:80:in `loop'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer_work_pool.rb:80:in `block in run_loop'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer_work_pool.rb:79:in `catch'
/home/vagrant/v2_vendor/service-order/bundle/ruby/2.0.0/gems/bunny-1.6.1/lib/bunny/consumer_work_pool.rb:79:in `run_loop'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment