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

revert BaseException change #4494

Merged
merged 7 commits into from
Mar 19, 2025
Merged

Conversation

emdneto
Copy link
Member

@emdneto emdneto commented Mar 18, 2025

Description

Revert the change from #4406
since it's setting span as error for non error exceptions
Fixes #4493
Fixes #4484

@emdneto emdneto requested a review from a team as a code owner March 18, 2025 15:59
emdneto and others added 2 commits March 18, 2025 16:13
@emdneto emdneto requested review from grihabor and xrmx March 18, 2025 22:13
@harupy
Copy link

harupy commented Mar 19, 2025

@emdneto Thanks for the PR! Do you have an estimated release date for this patch? Do you plan to make a patch release?

@xrmx xrmx merged commit 525b523 into open-telemetry:main Mar 19, 2025
384 of 385 checks passed
emdneto added a commit to emdneto/opentelemetry-python that referenced this pull request Mar 19, 2025
…4494)

This reverts 1bd9ec6 since it's setting span as error for non error exceptions

Signed-off-by: emdneto <[email protected]>
Co-authored-by: Gregory Borodin <[email protected]>
xrmx pushed a commit that referenced this pull request Mar 20, 2025
…use_span (#4494) (#4495)

* api: revert catching BaseException in trace.use_span (#4494)

This reverts 1bd9ec6 since it's setting span as error for non error exceptions

Signed-off-by: emdneto <[email protected]>
Co-authored-by: Gregory Borodin <[email protected]>

* fix workflows

Signed-off-by: Emídio Neto <[email protected]>

* skip gen workflows

---------

Signed-off-by: emdneto <[email protected]>
Signed-off-by: Emídio Neto <[email protected]>
Co-authored-by: Gregory Borodin <[email protected]>
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.

Regression: sys.exit(0) sets span error to SystemExit GeneratorExit sets span status to ERROR
5 participants