-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
ref(grouping): remove line and column numbers from similar issues stacktrace diff #97536
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
@@ -79,7 +84,7 @@ function getPythonFrame(frame: Frame): string { | |||
return result; | |||
} | |||
|
|||
export function getJavaFrame(frame: Frame): string { | |||
export function getJavaFrame(frame: Frame, includeLocation = true): string { |
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.
this function is only called in this file and in tests, lets make includeLocation a required parameter and update the tests. I'd do the same with the other functions.
Adding a test in static/app/components/events/interfaces/crashContent/stackTrace/rawContent.spec.tsx
for this might also be good
Line and column numbers aren't considered in grouping so there is no need to highlight them in the stacktrace diff for similar issues.
Added an
includeLocation
option to thegetFrame
functions to turn off getting line/column numbers.Before:

After:
