fix(anthropic): Stop setting transaction status when child span fails… · gitcommit90/sentry-python@0b990da · GitHub
Skip to content

Commit 0b990da

Browse files
fix(anthropic): Stop setting transaction status when child span fails (getsentry#5717)
Stop setting the transaction status when an exception is raised, since the transaction may not be managed by the Anthropic integration.
1 parent 45abbe3 commit 0b990da

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

sentry_sdk/integrations/anthropic.py

Lines changed: 2 additions & 5 deletions

tests/integrations/anthropic/test_anthropic.py

Lines changed: 0 additions & 2 deletions

0 commit comments

Comments
 (0)