Skip to content

Commit 12ffe22

Browse files
fix(pydantic-ai): Stop setting transaction status when child span fails
1 parent 3d9c131 commit 12ffe22

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • sentry_sdk/integrations/pydantic_ai

sentry_sdk/integrations/pydantic_ai/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import sentry_sdk
55
from sentry_sdk.consts import SPANDATA
66
from sentry_sdk.scope import should_send_default_pii
7-
from sentry_sdk.tracing_utils import set_span_errored
87
from sentry_sdk.utils import event_from_exception, safe_serialize
98

109
if TYPE_CHECKING:
@@ -207,8 +206,6 @@ def _set_available_tools(span: "sentry_sdk.tracing.Span", agent: "Any") -> None:
207206

208207

209208
def _capture_exception(exc: "Any", handled: bool = False) -> None:
210-
set_span_errored()
211-
212209
event, hint = event_from_exception(
213210
exc,
214211
client_options=sentry_sdk.get_client().options,

0 commit comments

Comments
 (0)