NoMethodError: undefined method `zero?' for nil:NilClass

https://sentry.gitlap.com/gitlab/gitlabcom/issues/37073/

NoMethodError: undefined method `zero?' for nil:NilClass
  lib/gitlab/elastic/indexer.rb:66:in `run_indexer!'
    raise Error, output unless status.zero?
  lib/gitlab/metrics/instrumentation.rb:156:in `block in run_indexer!'
    trans.method_call_for(#{label.to_sym.inspect}).measure { super }
  lib/gitlab/metrics/method_call.rb:23:in `measure'
    retval = yield
  lib/gitlab/metrics/instrumentation.rb:156:in `run_indexer!'
    trans.method_call_for(#{label.to_sym.inspect}).measure { super }
  lib/gitlab/elastic/indexer.rb:40:in `run'
    run_indexer!(from_sha, to_sha)
...
(44 additional frame(s) were not displayed)

undefined method `zero?' for nil:NilClass
Assignee Loading
Time tracking Loading