Issue Description
I got an error in capturing low-level errors when using puma v4.
The following error messages are output in large numbers.
Error in reactor loop escaped: wrong number of arguments (given 3, expected 2) (ArgumentError)
/path/to/lib/ruby/gems/3.1.0/gems/puma-4.3.12/lib/puma/server.rb:961:in `lowlevel_error'
/path/to/lib/ruby/gems/3.1.0/gems/sentry-ruby-5.10.0/lib/sentry/puma.rb:7:in `lowlevel_error'
/path/to/lib/ruby/gems/3.1.0/gems/puma-4.3.12/lib/puma/reactor.rb:263:in `rescue in block in run_internal'
/path/to/lib/ruby/gems/3.1.0/gems/puma-4.3.12/lib/puma/reactor.rb:218:in `block in run_internal'
/path/to/lib/ruby/gems/3.1.0/gems/puma-4.3.12/lib/puma/reactor.rb:157:in `each'
/path/to/lib/ruby/gems/3.1.0/gems/puma-4.3.12/lib/puma/reactor.rb:157:in `run_internal'
/path/to/lib/ruby/gems/3.1.0/gems/puma-4.3.12/lib/puma/reactor.rb:313:in `block in run_in_thread'
I think the related PR is below.
There seems to have been arguments change in the following PR that went into puma v5.
Reproduction Steps
Gemfile
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'rails'
gem 'puma', '4.3.12'
gem 'sentry-ruby', '~> 5.9'
Start server
Expected Behavior
No error messages should be output.
Actual Behavior
Error message is output.
Ruby Version
3.1.4
SDK Version
5.10.0
Integration and Its Version
Puma 4.3.12
Sentry Config
No response
Issue Description
I got an error in capturing low-level errors when using puma v4.
The following error messages are output in large numbers.
I think the related PR is below.
There seems to have been arguments change in the following PR that went into puma v5.
Reproduction Steps
Gemfile
Start server
bundle exec rails serverExpected Behavior
No error messages should be output.
Actual Behavior
Error message is output.
Ruby Version
3.1.4
SDK Version
5.10.0
Integration and Its Version
Puma 4.3.12
Sentry Config
No response