t3-innovation-network / OCF-Collab

0 stars 0 forks source link

[Airbrake] [Production] Only call searchkick once per model #42

Open edgarf opened 5 months ago

edgarf commented 5 months ago

Airbrake error: #6967 Airbrake project: OCN RB

Error type: RuntimeError Error message: Only call searchkick once per model Where: <no information> Occurred at: May 29, 2024 09:49:33 UTC First seen at: May 29, 2024 09:49:33 UTC Occurrences: 0 (0 since last deploy on May 08, 2024 07:39:41 UTC) Severity: error

URL: <no information> File: /GEM_ROOT/gems/searchkick-5.2.1/lib/searchkick/model.rb

Backtrace:

/GEM_ROOT/gems/searchkick-5.2.1/lib/searchkick/model.rb:13:in searchkick
/PROJECT_ROOT/app/services/search.rb:2:in <class:Competency>
/PROJECT_ROOT/app/services/search.rb:1:in <main>
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require
/GEM_ROOT/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/kernel.rb:30:in require
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/helpers.rb:135:in const_get
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/helpers.rb:135:in cget
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:169:in block in actual_eager_load_dir
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/helpers.rb:40:in block in ls
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/helpers.rb:25:in each
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/helpers.rb:25:in ls
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:164:in actual_eager_load_dir
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:17:in block (2 levels) in eager_load
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:16:in each
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:16:in block in eager_load
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:10:in synchronize
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader/eager_load.rb:10:in eager_load
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader.rb:296:in block in eager_load_all
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader.rb:294:in each
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/loader.rb:294:in eager_load_all
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/application/finisher.rb:80:in block in <module:Finisher>
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/initializable.rb:32:in instance_exec
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/initializable.rb:32:in run
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/initializable.rb:61:in block in run_initializers
/usr/local/lib/ruby/3.2.0/tsort.rb:228:in block in tsort_each
/usr/local/lib/ruby/3.2.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component
/usr/local/lib/ruby/3.2.0/tsort.rb:431:in each_strongly_connected_component_from
/usr/local/lib/ruby/3.2.0/tsort.rb:349:in block in each_strongly_connected_component
/usr/local/lib/ruby/3.2.0/tsort.rb:347:in each
/usr/local/lib/ruby/3.2.0/tsort.rb:347:in call
/usr/local/lib/ruby/3.2.0/tsort.rb:347:in each_strongly_connected_component
/usr/local/lib/ruby/3.2.0/tsort.rb:226:in tsort_each
/usr/local/lib/ruby/3.2.0/tsort.rb:205:in tsort_each
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/initializable.rb:60:in run_initializers
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/application.rb:426:in initialize!
/PROJECT_ROOT/config/environment.rb:5:in <main>
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require
/GEM_ROOT/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require
/GEM_ROOT/gems/zeitwerk-2.6.5/lib/zeitwerk/kernel.rb:38:in require
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/application.rb:402:in require_environment!
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/command/actions.rb:20:in boot_application!
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/commands/console/console_command.rb:105:in perform
/GEM_ROOT/gems/thor-1.3.1/lib/thor/command.rb:28:in run
/GEM_ROOT/gems/thor-1.3.1/lib/thor/invocation.rb:127:in invoke_command
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/command/base.rb:178:in invoke_command
/GEM_ROOT/gems/thor-1.3.1/lib/thor.rb:527:in dispatch
/GEM_ROOT/gems/railties-7.1.3.2/lib/rails/command/base.rb:73:in perform
...

Visit Airbrake error to view the full backtrace.