Skip to content

Instantly share code, notes, and snippets.

@zunda
Created March 24, 2019 05:44
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 zunda/19162442ae84256633becb1f273795ee to your computer and use it in GitHub Desktop.
Save zunda/19162442ae84256633becb1f273795ee to your computer and use it in GitHub Desktop.
Mastodon with https://github.com/tootsuite/mastodon/pull/10353 recording an error when starting
102 TID-oqyvw7cya WARN: {"context":"scheduler"}
102 TID-oqyvw7cya WARN: NoMethodError: undefined method `call' for nil:NilClass
102 TID-oqyvw7cya WARN: /app/app/lib/request_pool.rb:26:in `try_create'
/app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:83:in `block (2 levels) in pop'
/app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:79:in `loop'
/app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:79:in `block in pop'
/app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:78:in `synchronize'
/app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:78:in `pop'
/app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/scheduled.rb:168:in `initial_wait'
/app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/scheduled.rb:65:in `block in start'
/app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:16:in `watchdog'
/app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:25:in `block in safe_thread'
#<Thread:0x00007f007dfbb268@/app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:23 run> terminated with exception (report_on_exception is true):
/app/app/lib/request_pool.rb:26:in `try_create': undefined method `call' for nil:NilClass (NoMethodError)
from /app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:83:in `block (2 levels) in pop'
from /app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:79:in `loop'
from /app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:79:in `block in pop'
from /app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:78:in `synchronize'
from /app/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:78:in `pop'
from /app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/scheduled.rb:168:in `initial_wait'
from /app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/scheduled.rb:65:in `block in start'
from /app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:16:in `watchdog'
from /app/vendor/bundle/ruby/2.6.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:25:in `block in safe_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment