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

vdk-core: replace report_and_rethrow #3056

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

DeltaMichael
Copy link
Contributor

Why?

Calling report_and_rethrow causes confusing stack traces, because of adding an extra frame from the extra function call

What?

Replace report_and_rethrow with just calling report and raising the exception after

How was this tested?

CI

What kind of change is this?

Feature/non-breaking

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/report-raise-core branch 2 times, most recently from 70bef08 to 4a7544b Compare January 26, 2024 09:42
Why?

Calling report_and_rethrow causes confusing stack traces,
because of adding an extra frame from the extra function call

What?

Replace report_and_rethrow with just calling report and raising
the exception after

How was this tested?

CI

What kind of change is this?

Feature/non-breaking

Signed-off-by: Dilyan Marinov <[email protected]>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/report-raise-core branch from 4a7544b to 3e96fb5 Compare January 26, 2024 09:44
@DeltaMichael DeltaMichael linked an issue Jan 26, 2024 that may be closed by this pull request
@DeltaMichael DeltaMichael merged commit 64864b1 into main Jan 29, 2024
10 checks passed
@DeltaMichael DeltaMichael deleted the person/mdilyan/report-raise-core branch January 29, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change "report_and_rethrow" to "report() and raise"
4 participants