-
Notifications
You must be signed in to change notification settings - Fork 338
MOD-13014 Remove user info from errors #1474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1474 +/- ##
==========================================
- Coverage 77.44% 77.22% -0.22%
==========================================
Files 16 15 -1
Lines 4025 3842 -183
==========================================
- Hits 3117 2967 -150
+ Misses 908 875 -33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| match (p.len(), n.len()) { | ||
| (0, 0) => "parsing error".to_string(), | ||
| (_, 0) => format!("expected one of the following: {p}"), | ||
| (0, _) => format!("unexpected tokens found: {n}"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't n leak sensitive data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sensitive data? i'm not certain, but i don't think so. it's the result of stringifying a parsing rule.
* path info * value types * query compilation error * query compilation error * cleaning up * stop using Error when we have RedisError
* path info * value types * query compilation error * query compilation error * cleaning up * stop using Error when we have RedisError
* path info * value types * query compilation error * query compilation error * cleaning up * stop using Error when we have RedisError
* MOD-13014 Remove user info from errors (#1474) * path info * value types * query compilation error * query compilation error * cleaning up * stop using Error when we have RedisError * fmt * remove file --------- Co-authored-by: efeldblum <109016390+ephraimfeldblum@users.noreply.github.com>
MOD-13014