Skip to content

Commit 81fafac

Browse files
feat(LLMO-1023): integrate logWrapper for trace ID logging
1 parent 3e864ee commit 81fafac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import wrap from '@adobe/helix-shared-wrap';
1313
import { helixStatus } from '@adobe/helix-status';
1414
import secrets from '@adobe/helix-shared-secrets';
1515
import dataAccess from '@adobe/spacecat-shared-data-access';
16-
import { resolveSecretsName, sqsEventAdapter } from '@adobe/spacecat-shared-utils';
16+
import { resolveSecretsName, sqsEventAdapter, logWrapper } from '@adobe/spacecat-shared-utils';
1717
import { internalServerError, notFound, ok } from '@adobe/spacecat-shared-http-utils';
1818
import { checkSiteRequiresValidation } from './utils/site-validation.js';
1919

@@ -233,6 +233,7 @@ async function run(message, context) {
233233
export const main = wrap(run)
234234
.with(dataAccess)
235235
.with(sqsEventAdapter)
236+
.with(logWrapper)
236237
.with(sqs)
237238
.with(s3Client)
238239
.with(secrets, { name: resolveSecretsName })

0 commit comments

Comments
 (0)