Issue Description
In my server logs (but not in Sentry), I found another occurrence of #2268: NoMethodError: undefined method 'add_session for nil
Reproduction Steps
Unfortunately, I don't have clear reproduction steps. I know that the error occurred during this trace and doesn't occur regularly.
Expected Behavior
No error is generated in Sentry, and add_session can be called successfully.
Actual Behavior
A NoMethodError is raised.

Ruby Version
3.3.4
SDK Version
5.18.2
Integration and Its Version
Rails 7.1.3.4
Sentry Config
No response
Issue Description
In my server logs (but not in Sentry), I found another occurrence of #2268:
NoMethodError: undefined method 'add_session for nilReproduction Steps
Unfortunately, I don't have clear reproduction steps. I know that the error occurred during this trace and doesn't occur regularly.
Expected Behavior
No error is generated in Sentry, and
add_sessioncan be called successfully.Actual Behavior
A
NoMethodErroris raised.Ruby Version
3.3.4
SDK Version
5.18.2
Integration and Its Version
Rails 7.1.3.4
Sentry Config
No response