Skip to content

Commit

Permalink
chore: Fix message when sfn->Lambda context injection is already set …
Browse files Browse the repository at this point in the history
…up using Payload.$ (#536)
  • Loading branch information
lym953 authored Sep 30, 2024
1 parent 793b96a commit 36201b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/step-functions-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ merge these traces, check out https://docs.datadoghq.com/serverless/step_functio
step.Parameters["Payload.$"] === "$$['Execution', 'State', 'StateMachine']"
) {
serverless.cli.log(
`[Warn] Step ${stepName} of state machine ${stateMachineName}: Context injection is already set up. Skipping context injection.\n`,
`Step ${stepName} of state machine ${stateMachineName}: Context injection is already set up. Skipping context injection.\n`,
);

return;
Expand Down

0 comments on commit 36201b5

Please sign in to comment.