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

Fix stacktrace cutoff methods initialization #1699

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

Spikhalskiy
Copy link
Contributor

@Spikhalskiy Spikhalskiy commented Mar 16, 2023

What was changed

The initialization of stacktrace cutoff lines was reworked from static Strings using reflection and the new approach will guarantee that even after future changes the constants will contain the correct values.

Why?

Stacktrace cutoff points were hardcoded and got out of sync during SDK refactorings

@Spikhalskiy Spikhalskiy requested a review from a team as a code owner March 16, 2023 00:33
@Spikhalskiy Spikhalskiy merged commit f37c999 into temporalio:master Mar 16, 2023
@Spikhalskiy Spikhalskiy deleted the fix-method-cutoff-lines branch March 16, 2023 00:54
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.

None yet

2 participants