appsignal / appsignal-ruby

🟥 AppSignal for Ruby gem
https://www.appsignal.com/ruby
MIT License
183 stars 115 forks source link

Fix Rails session data not being reported #1259

Closed tombruijn closed 2 months ago

tombruijn commented 2 months ago

Do not warn about nil being set as SampleData

The default value is nil so it would always log this warning when the value gets set for the first time.

Fix Rails session data not being reported

The Rails session data was a non Hash object. It would not be stored on the transaction because it wasn't a Hash. It can be cast to a Hash, so let's explicitly cast it before setting the session data.

[skip review]

backlog-helper[bot] commented 2 months ago

:heavy_check_mark: All good!

New issue guide | Backlog management | Rules | Feedback