Skip to content

Commit f532a4f

Browse files
fix boolean logic
1 parent 0099e3e commit f532a4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sentry_sdk/integrations/boto3/_services/bedrock.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class _BedrockExtension(_ServiceExtension):
1515
skip_if_no_active_span = False
1616

1717
def get_span_op(self, ctx: "AwsCallContext") -> "Optional[str]":
18-
if ctx.operation_name == "Converse" and ctx.operation_name == "ConverseStream":
18+
if ctx.operation_name != "Converse" and ctx.operation_name != "ConverseStream":
1919
return None
2020
return OP.GEN_AI_CHAT
2121

0 commit comments

Comments
 (0)