We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9df0a commit b8ff3fbCopy full SHA for b8ff3fb
datadog_lambda/tracing.py
@@ -263,7 +263,7 @@ def extract_context_from_sqs_or_sns_event_or_context(
263
sns_record = first_record.get("Sns") or {}
264
# SNS->SQS event would extract SNS arn without this check
265
if event_source.equals(EventTypes.SNS):
266
- arn = sns_record.get("TopicArn", "")
+ source_arn = sns_record.get("TopicArn", "")
267
msg_attributes = sns_record.get("MessageAttributes") or {}
268
dd_payload = msg_attributes.get("_datadog")
269
if dd_payload:
0 commit comments