Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

[production][sidekiq#ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper] undefined method `listing_price_cents' for nil:NilClass #756

Open
cpsoinos opened this issue Apr 3, 2017 · 0 comments

Comments

@cpsoinos
Copy link
Owner

cpsoinos commented Apr 3, 2017

See this exception on Errbit

undefined method `listing_price_cents' for nil:NilClass

Summary

Where

sidekiq#ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper

Occured

Apr 02 9:27pm

Similar

11

Params

{
  "args" => [{"job_class"=>"PaymentProcessorJob", "job_id"=>"4dd0cf44-e17d-4b6e-952c-0a686a47e72a", "queue_name"=>"default", "arguments"=>[{"_aj_globalid"=>"gid://jtrp/Payment/1752"}], "locale"=>"en"}],
  "backtrace" => true,
  "class" => "ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper",
  "created_at" => 1491182775.2328074,
  "enqueued_at" => 1491182808.8017323,
  "error_backtrace" => ["/app/app/services/discounts/applier.rb:40:in `discount_amount'", "/app/app/services/discounts/applier.rb:35:in `apply_to_item'", "/app/app/services/discounts/applier.rb:24:in `apply_discount'", "/app/app/services/discounts/applier.rb:12:in `execute'", "/app/app/services/orders/processor.rb:64:in `block in apply_discounts'", "/app/app/services/orders/processor.rb:63:in `each'", "/app/app/services/orders/processor.rb:63:in `apply_discounts'", "/app/app/services/orders/processor.rb:15:in `process'", "/app/app/models/order.rb:20:in `process'", "/app/app/services/payments/processor.rb:38:in `update_order'", "/app/app/services/payments/processor.rb:12:in `process'", "/app/app/jobs/payment_processor_job.rb:11:in `perform'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/execution.rb:32:in `block in perform_now'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/throttle.rb:41:in `block (3 levels) in <module:Throttle>'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/base.rb:70:in `block in with_lock_client'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/base.rb:64:in `with_raw_client'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/base.rb:69:in `with_lock_client'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/throttle.rb:37:in `block (2 levels) in <module:Throttle>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb:46:in `perform'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb:20:in `block (3 levels) in <top (required)>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `block in instrument'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `instrument'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:43:in `block in tag_logger'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:26:in `tagged'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `tagged'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:43:in `tag_logger'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/execution.rb:31:in `perform_now'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/execution.rb:21:in `execute'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:151:in `execute_job'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:133:in `block (2 levels) in process'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/scout_apm-3.0.0.pre1/lib/scout_apm/background_job_integrations/sidekiq.rb:81:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb:33:in `block in call'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:363:in `perform_action_with_newrelic_trace'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb:29:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-unique-jobs-4.0.18/lib/sidekiq_unique_jobs/server/middleware.rb:15:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/logging.rb:31:in `with_context'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb:7:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:128:in `block in process'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:167:in `stats'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:127:in `process'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:79:in `process_one'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:67:in `run'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/util.rb:16:in `watchdog'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/util.rb:24:in `block in safe_thread'"],
  "error_class" => "NoMethodError",
  "error_message" => "undefined method `listing_price_cents' for nil:NilClass",
  "failed_at" => 1491182809.2674818,
  "jid" => "4649b4c9e2c3f85dc3bc6da9",
  "queue" => "default",
  "retry" => true,
  "retry_count" => 0,
  "wrapped" => "PaymentProcessorJob"
}

Session

{}

Backtrace

40:  app/services/discounts/applier.rb -> **discount_amount**
35:  app/services/discounts/applier.rb -> **apply_to_item**
24:  app/services/discounts/applier.rb -> **apply_discount**
12:  app/services/discounts/applier.rb -> **execute**
64:  app/services/orders/processor.rb -> **block in apply_discounts**
63:  app/services/orders/processor.rb -> **each**
63:  app/services/orders/processor.rb -> **apply_discounts**
15:  app/services/orders/processor.rb -> **process**
20:  app/models/order.rb -> **process**
38:  app/services/payments/processor.rb -> **update_order**
12:  app/services/payments/processor.rb -> **process**
11:  app/jobs/payment_processor_job.rb -> **perform**
32:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/execution.rb -> **block in perform_now**
117:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
555:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in compile**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
41:  [GEM_ROOT]/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/throttle.rb -> **block (3 levels) in <module:Throttle>**
70:  [GEM_ROOT]/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/base.rb -> **block in with_lock_client**
64:  [GEM_ROOT]/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/base.rb -> **with_raw_client**
69:  [GEM_ROOT]/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/base.rb -> **with_lock_client**
37:  [GEM_ROOT]/gems/activejob-traffic_control-0.1.1/lib/active_job/traffic_control/throttle.rb -> **block (2 levels) in <module:Throttle>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
46:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb -> **perform**
20:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb -> **block (3 levels) in <top (required)>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
257:  [GEM_ROOT]/gems/i18n-0.7.0/lib/i18n.rb -> **with_locale**
7:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/translation.rb -> **block (2 levels) in <module:Translation>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
23:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block (4 levels) in <module:Logging>**
164:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb -> **block in instrument**
20:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb -> **instrument**
164:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb -> **instrument**
22:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block (3 levels) in <module:Logging>**
43:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block in tag_logger**
68:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb -> **block in tagged**
26:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb -> **tagged**
68:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb -> **tagged**
43:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **tag_logger**
19:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block (2 levels) in <module:Logging>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
92:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **__run_callbacks__**
778:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **_run_perform_callbacks**
81:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **run_callbacks**
31:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/execution.rb -> **perform_now**
21:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/execution.rb -> **execute**
42:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/queue_adapters/sidekiq_adapter.rb -> **perform**
151:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **execute_job**
133:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **block (2 levels) in process**
127:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
81:  [GEM_ROOT]/gems/scout_apm-3.0.0.pre1/lib/scout_apm/background_job_integrations/sidekiq.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
33:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb -> **block in call**
363:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/controller_instrumentation.rb -> **perform_action_with_newrelic_trace**
29:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
15:  [GEM_ROOT]/gems/sidekiq-unique-jobs-4.0.18/lib/sidekiq_unique_jobs/server/middleware.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
6:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/active_record.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
74:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/retry_jobs.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
11:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb -> **block in call**
31:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/logging.rb -> **with_context**
7:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
132:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **invoke**
128:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **block in process**
167:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **stats**
127:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **process**
79:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **process_one**
67:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **run**
16:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/util.rb -> **watchdog**
24:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/util.rb -> **block in safe_thread**

Environment

Key Value
HTTP_USER_AGENT
cpsoinos added a commit that referenced this issue Apr 3, 2017
return [] if no discounts and add test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant