Skip to content
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

Avoid reporting -1 column number #139

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Jun 13, 2022

Goal

Don't report a column when columnNumbers are not available at runtime. The existing behaviour reports the sentinel -1 values which create noise in the event reports and make reading the stack traces harder than it needs to be.

Testing

New unit test to cover the new behaviour

@lemnik lemnik requested a review from gareththackeray June 13, 2022 10:13
@lemnik lemnik changed the title fix(stacktrace): replace negative columnNumbers will null Avoid reporting -1 column number Jun 13, 2022
@lemnik lemnik merged commit 58dd4fa into next Jun 13, 2022
@lemnik lemnik deleted the PLAT-8567/fix-negative-column-numbers branch June 13, 2022 10:22
@lemnik lemnik mentioned this pull request Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants