What am I supposed to make of this:
There was 1 error encountered while processing this event
- request.cookies : Discarded invalid value Expand
ruby: 2.6.3
sentry-raven: 2.9.0
rails: 5.2.3
What am I supposed to make of this:
There was 1 error encountered while processing this event
ruby: 2.6.3
sentry-raven: 2.9.0
rails: 5.2.3
Could you take a screenshot of the error after you click expand, or share an issue link here?
I think this has something to do with how rails 5.2 handles cookie encryption.
I also think that rails does some obfuscation of sensitive cookies, so it may not be entirely necessary to hide all cookies from sentry. In creating the following commit, I noticed that before this middleware was executed rails had already changed some (sensitive?) cookie values to “[FILTERED]”
As an aside, I think that commit is incomplete since it leaves data[“request”][“cookies”] and data[“request”][“headers”] in an inconsistent state.