cryo28 / sidekiq_status

Extension to Sidekiq to pass job execution metadata such as status and result back to the client
MIT License
152 stars 53 forks source link

Heroku deployment #8

Closed robly closed 10 years ago

robly commented 11 years ago

Locally this is running well, but when we deploy to Heroku and check the UI tab we see the following error:

Has anyone else had this issue or has anyone else deployed on Heroku?

2013-06-07T22:02:08.009575+00:00 app[web.1]: Started GET "/sidekiq/statuses" for 24.23.216.168 at 2013-06-07 22:02:08 +0000 2013-06-07T22:02:08.056085+00:00 app[web.1]: TypeError - can't convert nil into Hash: 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :325:in merge' 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :325:inload' 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :187:in initialize' 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :139:innew' 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :139:in block in load_multi' 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :138:ineach' 2013-06-07T22:02:08.056085+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq_status-2d6f5b3871da/lib/sidekiq_status/container.rb :138:in `map'

cryo28 commented 11 years ago

I don't use Heroku so I don't know what is the cause. I'll be happy to get pull request.