t3-innovation-network / OCF-Collab

0 stars 0 forks source link

[Airbrake] [Production] undefined method `include?' for nil:NilClass #47

Open edgarf opened 4 months ago

edgarf commented 4 months ago

Airbrake error: #0934 Airbrake project: OCN RB

Error type: NoMethodError Error message: undefined method `include?' for nil:NilClass Where: competencies#asset_file Occurred at: Jun 25, 2024 21:26:26 UTC First seen at: Jun 25, 2024 21:26:26 UTC Occurrences: 0 (0 since last deploy on May 08, 2024 07:39:41 UTC) Severity: error

URL: https://broker.ocf-collab.org/competencies/asset_file?id=https://osmt.wgu.edu/api/skills/34106294-b558-452b-a9ea-cad2bfc0f4f8 File: /usr/local/lib/ruby/3.2.0/net/http.rb

Backtrace:

/usr/local/lib/ruby/3.2.0/net/http.rb:1986:in addr_port
/usr/local/lib/ruby/3.2.0/net/http.rb:1921:in begin_transport
/usr/local/lib/ruby/3.2.0/net/http.rb:1852:in transport_request
/usr/local/lib/ruby/3.2.0/net/http.rb:1826:in request
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rails/net_http.rb:11:in block in request
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rack.rb:28:in block in capture_timing
/GEM_ROOT/gems/airbrake-ruby-6.2.2/lib/airbrake-ruby/timed_trace.rb:29:in span
/GEM_ROOT/gems/airbrake-ruby-6.2.2/lib/airbrake-ruby/timed_trace.rb:18:in block in span
<internal:kernel>:90:in tap
/GEM_ROOT/gems/airbrake-ruby-6.2.2/lib/airbrake-ruby/timed_trace.rb:18:in span
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rack.rb:27:in capture_timing
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rails/net_http.rb:10:in request
/usr/local/lib/ruby/3.2.0/net/http.rb:1575:in get
/GEM_ROOT/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:139:in block in request_via_get_method
/usr/local/lib/ruby/3.2.0/net/http.rb:1238:in start
/GEM_ROOT/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:138:in request_via_get_method
/GEM_ROOT/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:129:in request_with_wrapped_block
/GEM_ROOT/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:122:in perform_request
/GEM_ROOT/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:66:in block in call
/GEM_ROOT/gems/faraday-1.10.2/lib/faraday/adapter.rb:50:in connection
/GEM_ROOT/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:64:in call
/GEM_ROOT/gems/faraday-1.10.2/lib/faraday/middleware.rb:18:in call
/GEM_ROOT/gems/faraday-1.10.2/lib/faraday/rack_builder.rb:154:in build_response
/GEM_ROOT/gems/faraday-1.10.2/lib/faraday/connection.rb:516:in run_request
/GEM_ROOT/gems/faraday-1.10.2/lib/faraday/connection.rb:202:in get
/PROJECT_ROOT/app/services/competency_asset_file_fetcher.rb:39:in block in pna_response
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/services/competency_asset_file_fetcher.rb:33:in pna_response
/PROJECT_ROOT/app/services/competency_asset_file_fetcher.rb:24:in pna_response_body
/PROJECT_ROOT/app/services/competency_asset_file_fetcher.rb:14:in body
/PROJECT_ROOT/app/controllers/brokerage/competencies_controller.rb:21:in block in asset_file
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/controllers/brokerage/competencies_controller.rb:4:in asset_file
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/base.rb:224:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/rendering.rb:165:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/callbacks.rb:259:in block in process_action
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:121:in block in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/controllers/brokerage/base_controller.rb:25:in tag_transaction_logger
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:130:in block in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:141:in run_callbacks
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/callbacks.rb:258:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/rescue.rb:25:in process_action
...

Visit Airbrake error to view the full backtrace.