private static async Task SendPosition(PositionApiRequest position)
        {
            try
            {
                var response = await PositionApiService.Send(position, true);

                if (!response)
                {
                    PositionApiService.Save(position);
                }
            }
            catch (Exception exception)
            {
            }
        }
Example #2
0
        private async Task SendPosition(PositionApiRequest position)
        {
            try
            {
                var response = await PositionApiService.Send(position, true);

                if (!response)
                {
                    PositionApiService.Save(position);
                }
            }
            catch (Exception exception)
            {
                InsightsUtils.LogException(exception);
            }
        }