fix(domain-events-infra): subsegment name

This commit is contained in:
Karol Sójko 2023-10-04 15:51:24 +02:00
parent d4579ce21e
commit ba7cbb989b
No known key found for this signature in database
GPG key ID: C2F813669419D05F

View file

@ -39,7 +39,7 @@ export class SQSXRayEventMessageHandler implements DomainEventMessageHandlerInte
}
await captureAsyncFunc(
`${handler.constructor.name}.handle}`,
`${handler.constructor.name}.handle`,
async (subsegment?: Subsegment) => {
await handler.handle(domainEvent)