Skip to content

Commit

Permalink
feat: adding steps for forms handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Kumar Singh committed Feb 19, 2025
1 parent 18408b8 commit f5f6637
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/audit-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export async function sendContinuationMessage(message, context) {
const { log } = context;
const { queueUrl, payload } = message;
const queueUrl1 = 'https://sqs.us-east-1.amazonaws.com/282898975672/spacecat-scraping-jobs';
const payload1 = JSON.stringify({ payload });
log.info(`Debug log 8 ${payload1}`);

try {
const { sqs } = context;
Expand All @@ -42,7 +44,7 @@ export async function sendContinuationMessage(message, context) {
await sqs.sendMessage({
// QueueUrl: queueUrl,
QueueUrl: queueUrl1,
MessageBody: JSON.stringify({ payload }),
MessageBody: payload1,
});
} catch (e) {
log.error(`Failed to send message to queue ${queueUrl1}`, e);
Expand Down

0 comments on commit f5f6637

Please sign in to comment.