sentry-ruby icon indicating copy to clipboard operation
sentry-ruby copied to clipboard

NoMethodError: undefined method `add_session` for nil

Open MrSerth opened this issue 6 months ago • 0 comments

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.

Image

Ruby Version

3.3.4

SDK Version

5.18.2

Integration and Its Version

Rails 7.1.3.4

Sentry Config

No response

MrSerth avatar Aug 16 '24 16:08 MrSerth