await sendMetric()

in source/workflow-common/message-broker.js [68:76]


            await sendMetric({
                EventType: 'workflow-error',
                EventDetails: {
                    Region: AWS_REGION,
                    IsPrimaryRegion: IS_PRIMARY_REGION,
                    ExecutionTimeInSeconds: executionTime,
                    WorkflowName: workflowName.split('-')[0]
                }
            });