Skip to content

Commit 32b30a1

Browse files
log environment variables
1 parent b2f012b commit 32b30a1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lambdas/upsert-letter/src/handler/upsert-handler.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ async function runUpsert(
156156
export default function createUpsertLetterHandler(deps: Deps): SQSHandler {
157157
return metricScope((metrics) => {
158158
return async (event: SQSEvent) => {
159+
console.log(
160+
"the environment variables:",
161+
JSON.stringify(process.env, null, 2),
162+
);
159163
console.log("The SQSEvent:", event);
160164
const batchItemFailures: SQSBatchItemFailure[] = [];
161165
metrics.setNamespace("vlasis_upsertLetter");

0 commit comments

Comments
 (0)