Skip to content

Commit 49eb731

Browse files
add debug log
1 parent 6962e79 commit 49eb731

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datadog_lambda/dsm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ def set_dsm_context(event, event_source: _EventSource):
1414
and not event_source.equals(EventTypes.SNS)
1515
and not event_source.equals(EventTypes.SQS)
1616
):
17+
logger.debug(
18+
f"DSM:{event_source.to_string()} not supported, not setting checkpoint"
19+
)
1720
return
1821

1922
for record in event.get("Records", []):

0 commit comments

Comments
 (0)