Closed kamilpogo closed 5 months ago
Same here after upgrading from 5.16.1 to 5.17.0 on Rails 7.0 with RSpec
I found the cause, this line should be session_tracking?
, not auto_session_tracking
https://github.com/getsentry/sentry-ruby/blob/1d8054837bedda96342c5f7b4bcfe9d87614c4da/sentry-ruby/lib/sentry/hub.rb#L248
Probably fixed by https://github.com/getsentry/sentry-ruby/pull/2269
Sorry for the trouble! Should be fixed after #2269 is merged.
Issue Description
After updating from sentry-ruby & sentry-rails 5.16.1 to 5.17 my system tests are failing with
NoMethodError: undefined method
add_session' for nil`Rails 7.1.3.2 minitest 5.22.3 puma 6.4.2
Reproduction Steps
run system test using minitest
Expected Behavior
test run successfully (like with previous version)
Actual Behavior
test fail with
Ruby Version
3.3
SDK Version
5.17
Integration and Its Version
Rails: 7.1.3.2
Sentry Config
No response