mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
fix(domain-events-infra): change segment closing
This commit is contained in:
@@ -46,12 +46,10 @@ export class SQSXRayEventMessageHandler implements DomainEventMessageHandlerInte
|
||||
if (subsegment) {
|
||||
subsegment.close()
|
||||
}
|
||||
xRaySegment.close()
|
||||
},
|
||||
xRaySegment,
|
||||
)
|
||||
|
||||
xRaySegment.close()
|
||||
xRaySegment.flush()
|
||||
}
|
||||
|
||||
async handleError(error: Error): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user