Closed
Description
openedon Dec 14, 2021
Describe the idea
Ideally, this:
would instead show something like:
[
{
user : "gid://app/User/1"
}
]
Why do you think it's beneficial to most of the users
Currently it renders the .to_s
or .inspect
of the object which contains no useful information for diagnosing the issue.
Possible implementation
I am not sure how to do this cleanly. Obviously overriding Sentry::Event#to_hash
could work but seems a bit iffy for projects without GlobalID.
Perhaps, it should happen in
sentry-ruby/sentry-rails/lib/sentry/rails/active_job.rb
Lines 55 to 64 in 9303b9a
Activity